Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When/Valid/Gotfocus/LostFocus
Message
 
To
10/09/1999 07:45:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00263291
Message ID:
00263295
Views:
17
>Does anyone have a good explanation of the reasons to use GotFocus instead of When or LostFocus instead of Valid?
>
>TIA

Well if you look at the descriptions of the GotFocus it states that this will occur when an object receives focus (you just landed on it) the when states it a little differently as this occurs before a control receives focus. So to me if I wanted to know a little about where the user came from I could know in the when event. If I did not care the I would use the got-focus event. Also I think the When could be a carry over from the past and got-focus could be its replacement.

My two cents
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform