Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I disable one row on a grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00391037
Message ID:
00391044
Vues:
13
>Suppose I have a grid that's running off of a table. The grid displays 4 fields across from this table. When the third field is TRUE for particular line, I want this line of the grid to be disabled. How do I do this?

Not the row, but you can enable/disable or readonly (.T./.F.) columns at your command. Put your code in the AfterRowColChange event of the grid.
If mytable.taxable
   This.SetAll("ReadOnly",.T.,"COLUMN")
Else
   This.SetAll("ReadOnly",.F.,"COLUMN")
Endif
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform