-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi ZK community,
I would like to underline the first character of a label.
In swing I would do it as follows:
menu = new JMenu("A Menu");
menu.setMnemonic(KeyEvent.VK_A);
Any ideas how to handle this in ZK?
Thanks, Murat Inci
Currently you need to customize and override lots of widget functions to handle keystroke, I've tried to implement a sample at zkfiddle:
Mnemonic, underline, Keystroke
test steps
click on listcell to let listcell get the focus (for ctrlkeys )
press alt+first-letter (e.g., alt+d) to open a menu or trigger onclick on a menuitem
when a menupopup is opened, you can press letters to access child menu/menupopup or press alt+letter to jump to another top most menu
Asked: 2013-05-20 20:28:27 +0800
Seen: 12 times
Last updated: May 29 '13
Do not update to ZK Studio 2.0
Catch Server 503 Error - Or Catch Stale Page
how to save spreadsheet data into postgres database?
One controller file with multiple zul file
Why am I getting authentication error for ZK studio activation?
How can i make Tomcat (with virtual hosts) to parse the zul page in subfolders?
Hi, ZK does not support this feature, you can post feature request in tracker.
vincentjian ( 2013-05-21 03:02:10 +0800 )edit