Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optiongroup one step behind
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00484224
Message ID:
00484270
Vues:
14
>I have an optiongroup with 6 radiobuttons. One of them is the default. If a user selects a button other than the default, I have a call in the click to a method that resets several other values associated with the new choice.
>
>The problem is that when the button is clicked for the first time when the user has just entered the form, the values DO NOT reset. If the user clicks on the button a second time, then everything resets, but to whatever the values are associated with the prior setting. It is always one step behind. If the user clicks a third time, the settings are reset as if the user had clicked on the second button choice.
>
>What is going on here?
>
>Marie

BTW, it isn't really good design to do actions when an option group is clicked. It should be used to set values for actions that follow. For example, options and checkboxes are typically set, then a command button is clicked to initiate some action. Just a suggestion but not always applicable.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform