Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement