Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids - Multi-line headers
Message
De
28/08/1997 17:45:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00047437
Message ID:
00047444
Vues:
31
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform