Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON KEYLABEL DEL DO CLASS??
Message
 
À
21/10/1997 20:06:13
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00055377
Message ID:
00055948
Vues:
38
>In my form class I emulate the behavior of what I've had in FPD, which
>reacted on F3 and F4. In the form class init, I have
>
>on key label f3 _screen.activeform.f3f4(3)
>on key label f4 _screen.activeform.f3f4(4)
>
>
>Maybe I should move it to form's Activate, and also dismiss in any
>proper place (it gets dismissed in Unload now)... which event fires if
>the form's window is not the active window anymore?
Dragan,

OKL's will burn you!!!!!! They interrupt running code when they are pressed. Instead of doing what you are doing look at my earlier reply in this thread and use the form's JeyPress event to trap the keystrokes and act on them. Thisw ay the keystorkes are only processed when no code is running and only when that form has focus.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform