Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to have certain rows read-only in a grid?
Message
 
 
À
16/08/1999 13:36:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00254148
Message ID:
00254155
Vues:
21
>I am working with VFP 3.0
>
>Is it possible in a populated grid to have certains rows (records) read-only?

In the AfterRowColChange of the grid, put your code to make the Grid read only based on whatever condition you need. Also, make sure you turn ReadOnly off if the condition is not met.
if ReadOnlyCondition_Here
   This.ReadOnly = .t.
else
   This.ReadOnly = .f.
endif
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform