Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to SetFocus on OptionGroup1?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00674204
Message ID:
00674234
Views:
18
>From a method, how can you setfocus on an optionGroup...?

The optiongroup is a container and cannot get focus. However you can set focus on one of the buttons in the optiongroup.
Thisform.optiongroup1.Buttons(1).SetFocus()
Or you can create OptionGroup class and add SetFocus() to it
* OptionGroup class
* PROCEDURE setfocus
  This.Buttons(1).SetFocus()
... 
* Some form's method
Thisform.optiongroup1.SetFocus()
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform