Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change property of Grid cell
Message
From
23/09/1999 20:50:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00268325
Message ID:
00268326
Views:
16
Hi Ken,

>I'm trying to find a method that will disable a cell of a grid if a field in that record is set to false. I've tried this code in every Method I could think of but none work.

Put two textboxes in your column (one enabled, one disabled) then do something like this in the INIT:
Grid.Column.DynamicCurrentControl = 'IIF(Table.Field, "EnabledBox", "DisabledBox")'
If you want this for more than 1 column use the SetAll method of the grid.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform