Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing variables via option group
Message
 
À
19/05/1997 14:28:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032616
Message ID:
00032824
Vues:
42
>>>>>OptionGroup.Value property returns exactly what you are looking for.
>>>>
>>>>Can you give me an example? like optiongroup.1 = .t. ?
>>>
>>>I'm sorry, I don't understand thi syntax: optiongroup.1 = .t.
>>>Use standard method/property/events.
>>
>>In the 'OK' button, I wanted to know an example of correct syntax in testing for which option the user had highlighted.
>
>OptionGroup.Value is exact number of option selected by user. If e.g. OptionGroup contains 3 option and Value=2, it means that second option has been selected.
Am a bit confused, Optiongroup1 has 4 choices,the user is to select one of them and then click on the 'OK' button. what line of code can I insert into the code section of the OK button to determine which option the user chose?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform