RE: Tabbed pane mnemonics
"Murray Thomas" <[email protected]>
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
putting in: mnemonics="65,66,67,68" solves the problem. It seems swix is not converting the KeyEvent constants into primitive ints like it seems to do with menus. -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Murray Thomas Sent: 23 March 2004 12:50 PM To: [email protected] Subject: [Forum] Tabbed pane mnemonics I am trying to set the keyboard mnemonics for selecting the tabs in a tabbed pane. Here is my xul: <?xml version="1.0" encoding="UTF-8"?> <frame size="300,200"> <tabbedpane titles="APane,BPane,CPane,DPane" mnemonics="VK_A,VK_B,VK_C,VK_D"> <panel></panel> <panel></panel> <panel></panel> <panel></panel> </tabbedpane> </frame> The tabs are not accessible by using the (alt key + letter), and none of the letters on the titles are underlined. I've looked through the api for the XTabbedPane and I cant see what I'm doing wrong. If I add (displayedmnemonics="0,0,0,0") then the first letter on title gets underlined but still no functionality with the alt keys. Any ideas anyone? _______________________________________________ Forum mailing list [email protected] http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com