Am Mittwoch, den 14.12.2005, 09:39 +0100 schrieb Micha Nelissen:
> 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.
Thank you very much.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives