Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress & button
Message
De
30/11/2001 03:45:11
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
30/11/2001 00:48:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00586052
Message ID:
00587871
Vues:
41
Yes Malcolm if you put on the activate and deactivate hen there is no need to have it in the init and destroy.

>Alexandre,
>
>Shouldn't you also place code in a form's Activate and Deactivate events so that (in your example) clicking on another form and striking the F12 key doesn't cause an error?
>
>Thanks for your feedback!
>Malcolm
>
>>Hi Robin you can try the following:
>>in the Init of your form put the following code
>>
ON KEY LABEL F12 Formreference.mybutton.Click()
>>no on the destroy of the form
>>
ON KEY LABEL F12
>>
>>>How do I get a keypress to perform a button click on my form.
Alexandre Palma
Senior Application Architect
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform