Hi,
Bit of a puzzle. How can I tell what form object was clicked to trigger a form's GotFocus event?
I am coming back to a parent form from a modeless child form. If the parent form's "Save" button was clicked and this was the event that triggered the form's GotFocus event, how can I tell?
In this case, I would like to execute the parent form's Save method from the form's GotFocus event as in this particular circumstance, the Save code should execute prior to the GotFocus code. At the moment, the reverse is happening.
Any ideas would be appreciated.
Thanks!
-=Gary