Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OptionGroup Change Programmatically
Message
 
 
À
11/12/2020 12:50:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01677515
Message ID:
01677521
Vues:
44
>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform