Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OptionGroup Change Programmatically
Message
From
11/12/2020 16:14:50
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01677515
Message ID:
01677530
Views:
51
>>>Hi,
>>>
>>>I am looking through all properties of the OptionGroup control (in VFP SP2 help). But I can't find how to change the option grammatically. For example, say the OptionGroup has 3 buttons. How do I set the button 2 to be selected programmatically?
>>>
>>>TIA
>>>
>>>UPDATE. I found that I can change it via the property Buttons array. Set the value of the array element to 1 and other buttons to 0 and the change is done.
>>
>>Use the ButtonCount property.
>>
>>Tamar
>
>ButtonCount is not what I was looking for. See my solution in the UPDATE above.

Yeah, I misunderstood your question.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform