Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-line headers in a VFP 5.0 grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00016573
Message ID:
00016643
Vues:
41
>>Is it possible to create a column header in a grid (VFP 5.0) that has text on more than one line. The grid has 11 columns and must be scrolled left and right to view all of the columns. Cheating by putting labels over the columns does not seem to be an option since I don't know where each column will be on the form at any given time.
>>
>>Any suggestions will be greatly appreciated.
>
>Yes, there is a better way than labels. Make the headerheight tall enough, and then use a CHR(13) in the caption string, like you'd do to make a multiline Wait Window.

Hmm....I had heard this would work in 5.0 but it doesn't seem to when I tested it. Has anyone else gotten this to work? You can always do the label with CHR(13) and dynamically move the label when column is stretched like we had to do in 3.0...but the header still needs a Wordwrap property, I guess.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform