Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON KEYLABEL DEL DO CLASS??
Message
From
26/10/1997 13:05:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00055377
Message ID:
00056740
Views:
37
>>Now since I want to have it active within the life of a form class >>instance only, the dismissal should be in form.deactivate, I suppose - >>yes, I've took a look at the help, I should dismiss it there, but in >>unload also, since deactivate doesn't get triggered when the form just >>unloads. Or just put this.deactivate in unload? >Dragan, > >If you put the key processing in the form's keypress it will only fire when >the user is in the fomr and never when they are anywhere else. The >keypress of the fomr will never get called when code is running and >therefore it will never interrupt code so you don't have to check for that. I've considered all this and come to the same conclusion. Well, I wasn't advocating OKL at all - the original subject of this thread was 'how to call a method via OKL' (I presumed the person who asked the question knew why he does it), but we surely came down to 'why' and 'why not' very soon. OKL does sound nice in theory, but in practice should be avoided at safe distance.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform