Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi-line caption in grid header

Status
Not open for further replies.

alwi

Programmer
Aug 17, 2002
10
ID
How does one go about creating a multi-line caption in grid header of vfp 5-8 ...?
 
alwi

For VFP5.0, VFP6.0 you would need to set your grid header height to 0 and add a label above your grid column.

VFp7.0 and VFP8.0 the column headers have a wordwrap property.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Alwi.

If you have a copy of "1001 Things You Wanted to Know About VFP" ( there is a multi-line header grid class in chapter 6. What is cool about the class is that it is written using VFP 6, but it allows you to have resizable and moveable grid columns as well as horizontally scrolling grids. Using Mike's approach in VFP 6 does not allow this, the grid must be fixed and the columns cannot be resized or moved.





Marcia G. Akins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top