Thanks Jan. Yeah - I got the follow-up about the WordWrap. So - yeah - that's the trick - literally putting the Equal sign into the caption setting - it WORKED!!!
Now I remember that from the past - as that was the trick. A trick even the AI's didn't realize was a way to make it work. Thanks again!!! -Kurt ________________________________________ From: Jan Bucek <[email protected]> Sent: Monday, February 23, 2026 3:53 PM To: [email protected] <[email protected]> Subject: Re: A Problem w/Grid Headers... [You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] 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 > At design time write direct into Caption or into zoom box of Caption: =("1. line"+chr(13)+chr(10)+"2. line") -- 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

