Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling grid cell
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00267849
Message ID:
00268002
Vues:
28
This was my first solution. The problem was, I'm also setting DisableBackColor when a cell is disabled for visible feedback and this colors the whole column.

>You can do it in the AFTERROWCOLCHANGE event of the grid.
>

>DO CASE
>CASE record = 1 && sample condition only
> This.Column3.Enabled = .F.
> This.Column5.Enabled = .T.
>CASE record = 2
> This.Column3.Enabled = .T.
> This.Column5.Enabled = .F.
>OTHERWISE
> This.Column3.Enabled = .T.
> This.column5.Enabled = .T.
>ENDCASE
>

It's "my" world. You're just living in it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform