Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Captions on Command buttons in grid
Message
 
 
À
10/05/2005 03:53:15
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01012363
Message ID:
01012421
Vues:
21
Yh Yau,

I think in your case you need to trick it using any of the Dynamic properties for the grid.

Put this.DynamicForeColor = "this.ChangeButtonCaption()" method. In this method do something like

this.colInfo.cmdInfo.caption = myTable.MyInfo
return this.forecolor


>Dear Tore,
>I've already set it to .f. instead of the default of .t..
>If I set sparse to .t., the buttons will only appear when the row has focus. I would actually like to see all the buttons appearing on the grid at the same time with different captions for each row based on the table value.
>Yau
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform