Yes sure OnKeyDown is fine.

Sorry everyone.

I had an unused Action with F1 shortcut and forgot about it. It was taking
care of F1 and it was not getting into OnKeyDown handler.

This made me think F1 was special unlike other keys.

Sorry again.

Alex


----- Original Message -----
From: "Nello Sestini" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, 10 October 2000 19:43
Subject: Re: [DUG]: F1


> > From: Alex Kouznetsov <[EMAIL PROTECTED]>
> > Is there any way to intercept F1 key apart setting Windows hooks ?
> >
>
>
> write a handler for the OnKeyDown event
>
>   procedure (Sender: TObject; var Key: Word; Shift: TShiftState);
>
> and in here test
>
>       if Key = VK_F1 then   file://whatever
>
>
> ns
>
>
>
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to