>>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.