Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid when problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid when problem
Miscellaneous
Thread ID:
00094396
Message ID:
00094396
Views:
58
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
Map
View

Click here to load this message in the networking platform