Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible buttons hot key
Message
From
21/10/2008 08:49:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
21/10/2008 08:44:58
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356027
Message ID:
01356029
Views:
33
You need the form catch the keypress and click the key. There is a KeyPreview property.
You might consider to catch forms Keypress via bindevent to the button

Agnes
>Hi,
>Is there a way to make invisible buttons behaviour like standard buttons for hot keys?
>For example, when I have a
button.caption = "\<Search"
- then Hot key is ALT+S.
>In case with vfp standard button - when I press ALT+S - its automatically starts CLCK() event.
>In case with invisible button - its just set focus to the button and raise no click event.
>
>Any ideas,
>Thanks
>Denis
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform