Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid when problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid when problem
Divers
Thread ID:
00094396
Message ID:
00094396
Vues:
59
Hello,
I have a grid and within this grid I have a combo box with an array source. I would like to control access to the combo box based on the true or false status of another field in the grid. I am attempting to issue an enable instruction in the when event for the combo box. :

If other.field
this.combo.enable=.t.
else
this.combo.enable=.f.
endif

It seems the when event only fires. If I set the other field to true and enter the combo the combo works. If I then leave the combo set the other field to false and then reenter the combo the combo is disabled. Fine. I then reset the other field to true and attempt to access the combo but it remains disabled. Not fine.
Is this a feature or am I messing up?
Suggestions?
Thanks
John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform