Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible buttons hot key
Message
De
21/10/2008 08:49:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
21/10/2008 08:44:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356027
Message ID:
01356029
Vues:
32
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform