Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird 'Keypressed' behavior
Message
 
À
19/11/1998 10:51:14
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159287
Message ID:
00159394
Vues:
19
>I have a form with a pageframe on it. On 1 of the pages I have two buttons. I want users to be able to press an Fkey to stimulate a click event on the buttons. The Fkey is trapped in the keypressed event for the form. If I run the form by itself everything works fine. If I run the application and go directly to this form the keypressed event never receives the Fkey. In fact no Fkeys get passed to the keypressed event. (I placed a wait window showing the nKeycode in the keypressed event) If I run another form first and then go to this form, the Fkey gets passed to the keypressed event. Can anyone explain to me what's happening here?

Calvin,

In your startup program add a CLEAR MACROS command to remove the macros for the F keys.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform