Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Give a key combination to activate a button
Message
 
À
06/10/2003 15:19:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00835506
Message ID:
00835511
Vues:
12
You can assign:

on key label ... iif(type("thisform.button1")="O",thisform.button1.click,"")

when loading the form and clear it on form unload.


>In the old foxpro for dos (stone age) it was possible to give a button a default key code(short cut). for exp i have 5 buttons and on of them i can activate from every where in the form just by pressing "ctrl + enter". Is this still possible in foxpro 7 ? I know you r going to say inkey(),keypress() or.... but i want to know if there is an other way to give a buttom a 'shortcut'.
>
>thnx
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform