Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to set the value of this.controlsource = this.value
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144183
Message ID:
00144221
Views:
34
Brenda,

I don't use toolbars, but I think the standard way of dealing with this is to _screen.ActiveControl.SetFocus() first thing in the toolbar buttons. This will cause the Valid to fire so the ControlSource gets updated.

>doing a work around for validating from the cmdsave on the toolbar. because i call lastcontrol.valid myself, the controlsource is not updated with the value. want to update the controlsource with the value generically. do not want to change all my valid code, since it all references the controlsource now.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform