Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling grid cell
Message
From
23/09/1999 11:20:19
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00267849
Message ID:
00268002
Views:
29
This was my first solution. The problem was, I'm also setting DisableBackColor when a cell is disabled for visible feedback and this colors the whole column.

>You can do it in the AFTERROWCOLCHANGE event of the grid.
>

>DO CASE
>CASE record = 1 && sample condition only
> This.Column3.Enabled = .F.
> This.Column5.Enabled = .T.
>CASE record = 2
> This.Column3.Enabled = .T.
> This.Column5.Enabled = .F.
>OTHERWISE
> This.Column3.Enabled = .T.
> This.column5.Enabled = .T.
>ENDCASE
>

It's "my" world. You're just living in it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform