Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form GotFocus - What was clicked first ???
Message
From
04/10/2004 14:25:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Form GotFocus - What was clicked first ???
Miscellaneous
Thread ID:
00948562
Message ID:
00948562
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform