Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set readonly in a Grid
Message
 
 
À
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:
01227694
Vues:
16
>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

In the AfterRowColChange method of the grid do
this.ReadOnly = not thisform.EditMode && or any other condition you like
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform