Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read only property of the grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00389647
Message ID:
00389653
Vues:
12
>How can I set readonly property to false for a particular row on a grid which is readonly?

Smitha,

If you want to change ReadOnly status depending on field value (say, if myNumber>100 you want ReadOnly=.f., otherwise .t.) you can put in Grid Init:
this.ColumnMyNumber.Readonly=(myNumber<=100)

And you probably should Refresh your grid in AfterRowColChange (for me it doesn't work without refreshing).
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