Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Which control has focus? 1998-05-05 -- Danny Joe Maintain two focus-related variables at the top of the Accept loop:
OldFocus Short
NewFocus Short
Code
Accept
If Selected() !new control is receiving focus
OldFocus = focus() !control losing focus
NewFocus = Selected() !control gaining focus
End
End
If you initialize the variables in TakeEvent (priority less <= 3800), you can reference
them in TakeAccepted.
Today is November 23, 2024, 2:09 am This article has been viewed 35198 times.
|
|