Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change grid header programatically
Message
 
To
12/09/2013 07:08:47
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01582929
Message ID:
01582986
Views:
84
Anything in the grid can be changed at run time.
Thisform.grdMygrid.Column1.Header1.Capton = "New column caption here"
Hi Randy,
>
>Acutally there is a way to avoid this.
>
>I've got a header class in a visual classlib though you can't actually visually change it, you can hack the VCX and change it that way.
>Of every predefined grid in our project, we hack the VCX or SCX and replace the header class (class and classloc fields) with the custom header.
>
>I've found that to be working best rather than to try to replace the header at runtime.
>
>Walter,
>
>
>
>
>>Hi. Please note that I am a vfp7 user. Problem: I cannot change a column header "on the fly". Will someone kindly suggest code syntax and placement of the code? The form has one grid and is a modal form.
>>
>>Thanks, Randy
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform