-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
Is there any ZK tag to capture keyboard event.
Actually I have added one button and I want to press/click the button by pressing the enter/return key from keyborad only not by by mouse. And I want to call method like onClick for that keyboard event.
Please help.
Hi,
please see developer's guide
http://docs.zkoss.org/wiki/Component_Events#The_ctrlKeys_Property
and example here
http://www.zkoss.org/zkdemo/userguide/#e7
Thanks
hello, but when i want to close my modal window from my composer class it dont work for me
please tell me how to do this.
my zul:
<window title=" " apply="com.composer.myComposer" id="myWindow" closable="true" onCtrlKey="doCtrlKey()">
in the composer:
void doCtrlKey() { myWindow.onClose(); }
@moloch
could you please provide your code ?
i think it might have some misunderstand in it.
onCtrlKey
Asked: 2009-03-23 07:41:27 +0800
Seen: 717 times
Last updated: Aug 24 '10