Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Option Group no reseting values
Message
De
02/05/2000 09:32:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Option Group no reseting values
Divers
Thread ID:
00365045
Message ID:
00365045
Vues:
54
I have an option group where the button count is 2.
All I want to do is reset the value of the control source every time the user clicks on one of them.
So I say in the InteractiveChange something like this:
DO CASE
CASE .opgroup.option1.Value = 1
ThisForm.myProp = 'A'
.opgroup.option2.Value = 0
CASE .opgroup.option2.Value= 1
ThisForm.myProp = 'B'
opgroup.option1.Value = 0
ENDCASE

But it won’t reset the values, when I close the form and then I open it again it comes back with BOTH options checked!
What am I doing wrong?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform