Board index » delphi » Function key (F10) not functioning

Function key (F10) not functioning

hi,
    i made a program that uses the form keydown method to trap the keyboard
interupts from the user...i'm using the function keys but when i use the F10
key the user must have to press the button twice for the certain action to
take effect but when i try to change the key to some other function keys
like F12 the action is ok.....in the first press...if i try to press some
other keys it seems like the other keys were locked... and after the second
press on f10 the other keys are ok.

    why is it like that ?

thanks,
Orly

 

Re:Function key (F10) not functioning


On Sat, 15 Apr 2000 17:06:24 +0800, "Orly Reyes" <o...@fiax.net>
wrote:

Quote
> why is it like that ?

Microsoft Windows intercepts the F10 key, which causes the first menu
item to become selected. If you look closely at your menu, you'll see
that its first item is selected the first time you press F10.
--
Rick Rogers (TeamB)
www.fenestra.com and www.componentfactory.com

Re:Function key (F10) not functioning


Quote
In article <8d9afb$q...@bornews.borland.com>, Orly Reyes wrote:
>     i made a program that uses the form keydown method to trap the keyboard
> interupts from the user...i'm using the function keys but when i use the F10
> key the user must have to press the button twice for the certain action to
> take effect but when i try to change the key to some other function keys
> like F12 the action is ok.....in the first press...if i try to press some
> other keys it seems like the other keys were locked... and after the second
> press on f10 the other keys are ok.

>     why is it like that ?

F10, like F1, has a standard meaning in Windows programs and should not be
used by a program for its own purposes. F10 is an alternate means to activate
the forms menu (like the Alt key). Ctrl-F10 will activate a popup menu for the
active control.

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!

Other Threads