Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is control.Value written to ControlSource
Message
 
 
To
10/05/1999 13:47:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00216802
Message ID:
00217000
Views:
28
Don,

>When is a control Value written to the ControlSource?

This happens during the BaseClass behavior that handles the Valid event.

>Is there a simple way to force it to do it?

As Sylvain showed, calling the SetFocus() causes the Valid event to fire which commits the control value to the ControlSource. As you found calling the Valid() method does not trigger the actual Valid event.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform