Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 debugger problems
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00084745
Message ID:
00085141
Views:
40
Ed,

Buttons in toolbars do not get focus, so they don't cause a form control to lose focus. That's why the code like _screen.ActiveForm.ActiveControl.SetFocus() is required to get the current edit committed to the ControlSource.

>When the toolbar button is pushed (or a menu control, for that matter), should the active control lose focus anyway? Or is it proper that the "clicked" method occur first, then any other methods for the previously-active control?
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