Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON KEYLABEL DEL DO CLASS??
Message
 
To
21/10/1997 20:06:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00055377
Message ID:
00055948
Views:
33
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform