Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Key F10

0 views
Skip to first unread message

Gianni Gentilotti

unread,
Mar 11, 2002, 4:55:33 AM3/11/02
to
Hi to all,
How could I recognize the pressure of the key F10 from that of the key ALT
in a datawindow?
Thank you in advance.


--
Gianni Gentilotti


amiv...@alfabank.ru

unread,
Mar 11, 2002, 5:45:31 AM3/11/02
to
Hi Gianni.

Try to add hidden menuitem to your menu and assign F10 as shortcut.

HTH
Alex

Gianni Gentilotti

unread,
Mar 11, 2002, 11:42:10 AM3/11/02
to
Probably I have not stayed exhaustive. In a MDI application I want to
intercept the pressure of the key F10 in a sheet. If I press the key F10 the
menu' become active (standard windows), like if I premised the key ALT. Now
I know how to intercept it in the event pbm_syscommand with the parameter
commandtype = 61696, but it is the same of the key ALT !!

Gianni Gentilotti

"Chris Jones" <stockt...@home.com> ha scritto nel messaggio
news:DbPw2QR...@forums.sybase.com...
> use the function KeyDown( *keycode* )
>
> Function keys -- KeyF1! - KeyF12! Function keys F1 to F12
> Control keys -- KeyAlt!
>
> You need to map a userevent to the keys being pressed and within the
event,
> you can call KeyDown to tell you what key(s) was/were pressed when the
event
> fired.
>
> HTH,
> Thanks,
> CJ
>
>
>
> "Gianni Gentilotti" <gia...@sei-soft.it> wrote in message
> news:VRYn9MO...@forums.sybase.com...

Chris Jones

unread,
Mar 11, 2002, 10:41:31 AM3/11/02
to
use the function KeyDown( *keycode* )

Function keys -- KeyF1! - KeyF12! Function keys F1 to F12
Control keys -- KeyAlt!

You need to map a userevent to the keys being pressed and within the event,
you can call KeyDown to tell you what key(s) was/were pressed when the event
fired.

HTH,
Thanks,
CJ

"Gianni Gentilotti" <gia...@sei-soft.it> wrote in message
news:VRYn9MO...@forums.sybase.com...

0 new messages