Hi!
I guess following could be used:
Header1.Caption = "Line 1" + space(50) + "Line 2".
>Daniel,
>
>Can I control
where the text wraps? Something like this: Header1.Caption = "Line 1" + chr(13) + chr(10) + "Line 2".
>
>TIA.
>
>>Hilmar,
>>
>>In VFP7, the header object has a WordWrap property. Set this property to .t. and the text wraps. The grid column header does not expand to fit the text and the size of the font. You need to change the height of the header by setting the grid.HeaderHeight property.
>>
>>HTH
>>>If I understand correctly, VFP7 allows multi-line grid headers. I think that for us, this would be one powerful reason for upgrading.
>>>
>>>1) Is there a workaround for VFP6? I am still using this version.
>>>
>>>2) How are the multi-line grid headers implemented in VFP7?
>>>
>>>TIA, Hilmar.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.