Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An individual cell readonly
Message
De
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:
00457400
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform