Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set readonly in a Grid
Message
De
22/05/2007 13:12:56
 
 
À
22/05/2007 12:56:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01227687
Message ID:
01227692
Vues:
18
>Hi everyone
>
>I´m populating a grid with a table , and will need to edit some records depending the condition of one field (or column), but some other records need to set read-only properties, My question is: how to do it dynamically and “at once”. Using setall…? It is possible?
>Thanks in advance..
>
>Carlos Burgos

There are two ways. You may just check conditional field value in Column.Textbox.When event and return .F. if editing is not allowed. Or you can add 2 textboxes to the column, one of them with Enabled=.f., and use DynamicCurrentControl property.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform