Hi everybody, it's me again...
I'm making a program with Xforms... with 4 menus, like this
_____________________
File | Edit View ...
-------------------------------------
| Open |
| Close |
| Save |
|------------|
| Exit |
--------------
And I want to make a key shortcut to a menu function...
ok, and the manual says that exists a function
fl_set_menu_shortcut (ob, int id, char *);
thats rigth, but this only works when the menu is selected and displayed,
like in the picture, and doesn't work when another object is selected...
What can I do to make a shortcut to a function, like save a file?????
I have tried to get the events of the objects, but no one
gets the KEYBOARD event... (do I have to do a new object with fl_add_new ???)
Maybe its a ridiculous question, but ...
Thanks... (sorry for my poor english... :-P
David.
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/