Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is an option group's value updated?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Where is an option group's value updated?
Divers
Thread ID:
00885057
Message ID:
00885057
Vues:
62
Does anyone know how an option group detects which option button was selected and how it updates it's Value accordingly?

I want a form to return Form.OptionGroup.Value when a user selects a button by pressing enter. If I trap the enter in the button's keypress event, the OptionGroup's value has not yet been updated. However, if I try trapping via the InteractiveChange event of the OptionGroup, I miss out when the user presses enter on the first item in the list (because it is selected by default so no change took place).

I could set the initial value of the first button to 0 instead of 1 but I'd prefer to find a way around that if I could.

Any ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform