Sorry, I have forgotten to write:

Header.WordWrap=.T.



Dne 23.2.2026 v 21:18 Kurt Wendt napsal(a):
I have this screen created by a prior programmer - and, it's weird. There is a 
TON of code that I have never seen people do this before. Instead of setting 
various controls at Design time - the person put code in Methods - which set 
various control settings at run time!

And, there are a TON of data grids on the screen. I am trying to move the settings into design 
time. But, the one thing I am having a problem with is this double height grid header - where the 
person had a number of the headings displaying on 2 lines. In particular, "Order #" - 
where the "#" symbol gets displayed on the 2nd line. The following line does make it 
work, when it runs at run time:
      THISFORM.grdInProcess.column1.header1.CAPTION="Order"+CHR(13)+"#"

However, putting that value into the Caption field at design time - it doesn't 
work.

And, I've been trying a bunch of stuff. Including - typing "Order" into the Caption property, 
then pressing Ctrl+Enter to insert a line break, then typing in "#" - but, that did not work. 
And, that suggestion was made by both Claude AI & CoPilot.

It's been a number of years since I last did a 2-line header in a grid. I know 
it can be done - and I thought for sure it could be done at Design time. But, 
I'm just kinda stumped on how to make it work!

Thanks in advance for any Assist on this one!

-Kurt


--
Jan Bucek
Kohoutov 106
544 01 Dvůr Králové n. L.
tlf: 499 392 412
mob: 604 317 282
DS: 2aaixhx
web: https://www.jan-bucek.cz



--
Tento e-mail byl antivirovým softwarem Avast zkontrolován na viry.
www.avast.com

Reply via email to