Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change property of Grid cell
Message
De
23/09/1999 20:50:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00268325
Message ID:
00268326
Vues:
15
Hi Ken,

>I'm trying to find a method that will disable a cell of a grid if a field in that record is set to false. I've tried this code in every Method I could think of but none work.

Put two textboxes in your column (one enabled, one disabled) then do something like this in the INIT:
Grid.Column.DynamicCurrentControl = 'IIF(Table.Field, "EnabledBox", "DisabledBox")'
If you want this for more than 1 column use the SetAll method of the grid.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform