Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pressing Esc key to finish dataentry
Message
De
30/07/1997 16:32:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00042403
Message ID:
00042473
Vues:
29
>I want to setup a dataentry form to prompt for "Save now?" when user presses the Esc key rather than clicking on the Save button on the toolbar I also have. I know it is not the "Windows" way but users are asking for this feature because it was the way it was done in DOS app. I tried to use ON KEY LABEL ESC command to call the click method of the toolbar w/o success (I guess it can't be done!?). Any suggestions?
>
>John.

An on key label WILL work, but you have to do two things.

1) NAME the form when executing (ie DO FORM myform NAME ralph)

2) put your ON KEY proc in a common proc file and call your click method from there as:
ralph.savekey.click()
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform