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!

text wrap in flexgrid

Status
Not open for further replies.

cjac

Programmer
Dec 8, 2003
93
GB
Hi all, I'm attempting to wrap my flexgrid header text with no luck. I've had a search on the net and found the following property which is not documented within vb help:
.ColWordWrapOptionHeader(-1, -1) = 1
However vb does not recognise this as a valid property of the flexgrid. Is there any other way of wrapping the headers text within a flexgrid that anyone know of?

Cheers
Chris
 
hi cjac,

the ColWordWrapOptionHeader property seems to be only valid for the hierarchical flexgrid. However the flexgrid has a wordwrap property. This will affect all cells in the flexgrid, but you will have to set the rowheight property manually (i.e. RowHeightMin = 2.2 * TextHeight("X")).

Good luck,

Herman

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top