Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change grid header programatically
Message
From
12/09/2013 07:08:47
Walter Meester
HoogkarspelNetherlands
 
 
To
11/09/2013 21:50:34
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:
01582955
Views:
110
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform