Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids - Multi-line headers
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00047437
Message ID:
00047444
Views:
26
>>Anyone out there been successful with creating multi-line headers in VFP grids?
>
>Most people have ended up using a lable pasted over the header. Not good if your users need to re-size or move columns, but all that's available.
>
>HTH
>Barbara

Here's an idea- never tried it but I think it could work...
How about two grids, one actual grid with headerheight set to 0, and the other containing one row filled with labels (with as many lines of text as you want). Position the label grid over the top of the other and in the scrolled event of the data grid, check the relative column property and and if grid1.relativecolumn # grid2.relativecolumn, doscroll(4) or doscroll(5) until the grids are realligned. Sort of a master/slave setup. Waddaya think?

Erik
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform