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