Le 30 juil. 07 à 10:16 Matin, Trisha Duke a écrit:
> hi everyone,
>
> i am interested to put some function key like F1 to F12 into my
> application. How do i go about this??
You have several choices.
You can assign function keys to menu item (not a Mac standard, however).
Also, you can detect them in the KeyDown event of a window, an
editfield, a listbox or a canvas.
Else, you can use a timer to detect when the Keyboard.AsyncKeyDown
(122) (for instance) returns true.
On Mac OS X, you can also create a Carbon call to register some keys
(globally: whatever application is currently active, your app
receives the keypress you had registered).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|