Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option group question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00499090
Message ID:
00499202
Views:
32
>>>>What property determines the ordinal arrangement of the options in an option group? Ie, when selecting the first option, the value of the container is 1, selecting the second sets the container value to 2, etc.
>>>>
>>>>I have an option group that is not following the rules, and clicking the second box sets the value of the container to 3, clicking the third box sets the value to 2. I thought it might be the tabindex, but they are set correctly.
>>>
>>>What about the Value property of each OptionButton? What are they set to?
>>
>>The first and second have 0, and the third has 1... the third is selected when the form is instantiated.
>
>Is the controlsource the optiongroup bound to initialized with a value of 1? In that case, the third option would be selected. If the value were 0, then I believe the first button with a value of 0 would be initailly selected.

There actually is no controlsource for this control... it is programatically updated (hardcoded by another programmer).
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform