Marc Santhoff wrote:
Setting an accelerator key works nicely, e.g. "St&art" will set the "a"
key as shortcut.
How can a special key like "F1" set as accelerator on a button?
One way is to set Form.KeyPreview to true, and then in Form.OnKeyDown
handler check if Key = VK_F1, then do something useful.
Micha
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives