Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Choices in an OptionGroup
Message
From
23/01/2004 13:26:02
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00867982
Message ID:
00870019
Views:
35
>thisform.OptionGroup1.Value = 5 &&if you're using numeric values or
>This selects the 5th button, however the caption in the first button still has
>a dotted square around its caption. And when I manually select a button,
>the dotted square shifts to the button I select (along with selecting the button). Can
>I control the dotted square -- that part of the selecting -- for a button?
>Thanks
>Steve

thisform.OptionGroup1.Buttons(5).SetFocus()

This will move the focus from the manually selected button to the programmatically selected 5th button.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform