Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids and DynamicCurrentControl
Message
De
30/12/2001 09:23:34
 
 
À
30/12/2001 08:39:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00599227
Message ID:
00599230
Vues:
24
Hello Mark.

>> I am experimenting with grids and DynamicCurrentControl. I am using two containers with a text box inside as a column’s current controls. Both text boxes have ControlSource set to “cursor.field”.
In form’s Init I have:
Thisform.grid1.column1.DynamicCurrentControl = 'iif(ThisForm.lnRecNo = RECNO("cur1"), "cnt11", "cnt12")'
In Grids’ AfterRowColumnChange I have:
ThisForm.lnRecNo = RECNO("cur1") <<

Is the column's Sparse property set to False? It must be for DynamicCurrentControl to work properly. Also, the condition is only re-evaluated when you refersh the grid.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform