General information
Category:
Forms & Form designer
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only