Board index » delphi » Functions Key And OnKeyPress

Functions Key And OnKeyPress

Why the OnKeyPress event is not called when i press a function key
(F1,F2,...)

How can i resolve that?

Thank You

Eduardo Bitu
Fortaleza/Brazil

 

Re:Functions Key And OnKeyPress


You need to grab the OnKeyDown event, not OnKeyPress. In the
OnKeyDown, you can check for VK_key definitions (see Windows.pas).
Quote
Eduardo Bitu wrote in message <715cn4$b...@forums.borland.com>...
>Why the OnKeyPress event is not called when i press a function key
>(F1,F2,...)

>How can i resolve that?

>Thank You

>Eduardo Bitu
>Fortaleza/Brazil

Other Threads