Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling grid cell
Message
 
 
À
22/09/1999 21:04:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00267849
Message ID:
00268147
Vues:
22
O.K., I've been playing around with this idea this morning but can't get anywhere. Somehow, I'm not using the DynamicCurrentControl propery correctly. For example, I've tried testing by putting this code in the AfterRowColChange event:

THISFORM.Grid1.Column1.DynamicCurrentControl = IIF(RECNO('cTable')=2,"Text1","Text2")

Ed, can you please give me some code sample on how to use this property properly? Thanks.

>You may add two controls (textboxes) to each column, one is permanently enabled and another- disabled. Then you will use Column.DynamicCurrentControl to 'enable/disable' cells (property expression will be based on some record field value).
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