XForms: Binding keystrokes to main window

Dale Higbee (higbee@mepcom-mirs.army.mil)
Tue, 30 Jun 1998 11:31:23 -0500 (CDT)

# To subscribers of the xforms list from Dale Higbee <higbee@mepcom-mirs.army.mil> :

How do I bind a series of keystrokes to the main
window of an application? I need, for example,
<ctrl>p to activate a subroutine called printscreen.

I have thought about using:
fl_set_object_callback('main',printscreen, 0);
&
fl_set_object_shortcut('main',"^p", 0);

...but I do not want the callback executed everytime they
click on the screen!

-Dale

-- Why is there braille on drive-up ATMs? --
_________________________________________________
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/