Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Captions on Command buttons in grid
Message
 
 
To
10/05/2005 03:53:15
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01012363
Message ID:
01012421
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform