Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug with option group in VFP6?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00830472
Message ID:
00830681
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
Nadya,

You set the opg.Value to 1 if you want the button with te value of 1 selected.


>I set ButtonCount to 0 in my class, but it didn't solve the problem :( In my code I set first option to 1 programmatically, then another option to 1 programmatically. As a result I see two options selected. But I need only the last option, which I set, to be selected. How can I solve the problem in easy way?
>
>Thanks a lot in advance.
>
>UPDATE. I've just created a test form with option group with 3 option buttons. I programmatically set button's values to 1 (2nd and 3rd) and as a result all 3 options were selected. I'm wondering, what is the behavior in VFP7/8 and is this considered a bug or not?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform