Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Form Hotkey Buttons?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00171337
Message ID:
00171462
Views:
29
Hi Steve,

>I was wondering if the kind souls here could let me in on the secret to assigning hot keys to form buttons that are picture only. It was so easy in FPW2.6 (of course everything else was harder <grin>).

You could use an invisible button (Style=1), assign it a hotkey, set the tabstop property to .F. and place it outside the visible area of the form. In its GotFocus event you set the focus to the picture button and issue a KEYBOARD "{SPACEBAR}" to fire the click event.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform