Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Bob Lawson
  Where is Bob Lawson?
 Oakville, Ontario
 Canada
 Bob Lawson
 Tags
Subject: RE: Multiline Grid Headings
Thread ID: 143557 Message ID: 143561 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Grids
Date: Wednesday, August 29, 2007 10:17:56 PM         
   


> I want to have all the headings alligned on the bottom of the title box on a Grid.
>
> I can choose Align Bottom Center and the entered title goes to the bottom of the box. However if I then choose word wrap, the title is wrapped but pops to the top of the title area.
>
> Actually with Word Wrap on I can not get it to move anywhere but the top of the title area.
>
> Thoughts? Suggestions?
>
> Bob

Bob,

Sad to say that you cannot wordwrap anything at the bottom. Because of the wordwrap, VFP has to re-work the header spacing and it does it from the top. I handle it by using an image instead of text. Create a BMP of the header text (just create the word wrapped header at the top and then use something like Snagit to capture just the text as a BMP. Now clear the header and set the .Picture property to that BMP.


Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

Multiline Grid Headings Posted by Bob Lawson @ 8/29/2007 9:33:34 PM
RE: Multiline Grid Headings Posted by Ken Murphy @ 8/29/2007 10:17:56 PM
RE: Multiline Grid Headings Posted by Andy Kramek @ 8/30/2007 1:19:34 PM
RE: Multiline Grid Headings Posted by Marcia Akins @ 8/30/2007 5:32:19 PM
RE: Multiline Grid Headings Posted by Andy Kramek @ 8/30/2007 5:52:54 PM
RE: Multiline Grid Headings Posted by Marcia Akins @ 8/30/2007 10:17:50 PM