Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An individual cell readonly
Message
From
28/12/2000 12:29:57
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00457394
Message ID:
00457400
Views:
20
Good idea, Vlad.

I think also you can simulate the read-only by judicious use of the When event in the cell control. (returning False when a condition is not met).

>Put 2 different controls in the grid's column, one is read-only and one is editable. Say, they're TextReadObly and TextNormal, and name of logical column in table is lReadOnly. Than, assign following expression string to DynamicCurrentControl property of column:
>"iif(MyAlias.lReadOnly, 'TextReadObly', 'TextNormal')"
>
>HTH.
>
>>I have a grid in which i can input data in the first column.
>>
>>Is it possible to disable the input for some cells in this column for which a condition is true.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform