Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Option Group not displaying as expected
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00212277
Message ID:
00212281
Vues:
18
>On a reports form, I have an option group w/four buttons labeled Preview, Print, File and eMail respectively. If the user selects eMail, the fourth button, and a particular printer driver is not found I warn the user and want to enable Preview, the first button option.
>
>In the click method of the eMail or fourth option, after performing the driver check and messageboxing the user, I set the value of the option group = 1. and the fourth dark dot immediately lightens, but the first does not darken and the fourth label remains highlited with the dotted box. If I tab thru the controls back to the option group the Preview label, the first option, becomes highlited, but no option button is darkened. What is going on?
>
>Also, as an aside, what determines whether the option value is numeric or character?

When I have conditions that enable or disable an option I place the code in the optiongroup refresh method. That not only sets the option1.value=1, but it sets the option2.value = 0. I also set the option2.Enabled = .F. if I wish option 2 not to be chosen until a certain condition is met.

HTH
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform