Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LostFocus and GotFocus events
Message
 
To
15/12/1997 12:35:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00065970
Message ID:
00065974
Views:
32
>Is there a way within the LostFocus event of a control on a form to determine which control received focus?
>
>I am trying to have a textbox control react differently depending on how it Lost Focus.

Argh. This sounds ugly: are you sure you want to do this? :-)

The only thing I can think of is to set a Form.LastControl property in the LostFocus of all your textboxes, and then in the GotFocus, check Form.LastControl to see if it's the one you want to affect. Then, you can call your textbox's custom AfterLostFocus control.

Like I said: ugly. :-)
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform