Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An individual cell readonly
Message
From
28/12/2000 13:09:55
 
 
To
28/12/2000 12:29:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00457394
Message ID:
00457438
Views:
19
Hi!

Correct. You will disable control in cell by such way, so it is read only anyway ;)

I tried to be exact, because in some systems users want to have ability to select content of the cell and copy it into clipboard. You cannot do this in disabled control, read-only control allows this.

>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.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform