Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic grid-column button caption
Message
From
21/03/2009 22:33:22
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01390208
Message ID:
01390341
Views:
71
Hi Borislav,

>If you keep caption text in some field you could try something like this:
>
>**** Init of the form:
>thisform.Grid1.ColumnWithButton.DynamicBackColor = "thisform.ChangeButtonCaption()"
>
>**** Form.ChangeButtonCaption method
>thisform.Grid1.ColumnWithButton.Button1.Caption = ALLTRIM(Table.Field)
>RETURN thisform.Grid1.ColumnWithButton.BackColor
That works well. Many thanks,
Alan
Previous
Reply
Map
View

Click here to load this message in the networking platform