Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An individual cell readonly
Message
 
 
À
28/12/2000 12:29:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00457394
Message ID:
00457438
Vues:
21
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform