Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read Only just one cell in the grid
Message
From
02/10/1997 10:34:12
 
 
To
02/10/1997 10:30:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00052856
Message ID:
00052859
Views:
33
>>>Is it possible to get just one cell read only in one grid. If so how can I get.
>>
>>Whatever you like:
>>Column.ReadOnly=.T. or Column.Control.ReadOnly=.T. or Column.Control.Enabled=.F.
>
>Edward, I want just one cell no the entire column.

Antonio, it will work for one cell in active row. If you mean that grid should differ behaviour in regard to different rows, than you should either use Column.DynamicCurrentControl property (toggle e.g. enabled/disabled textboxes, I would prefer it) or add some code into Control.When snippet:
IF table1.noway=.T.
Return .F.
Endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform