The Header Text uses Format() Modifier HT(color)
which the Template generation does not correctly support.
Generation ignores the “H” and sees it as a Tree T(type)
so adds a Level LONG to the Queue. The Format does not really have a TREE so that extra LONG is seen as a Color (you have * colors) and Zero is Black. Plus that extra column throws off all subsequent columns.
The only way to do in an APP it is NOT in the IDE but at runtime with PROPLIST: settings:
?Browse:1{PROPLIST:HdrBackColor,11} = Color:Red
?Browse:1{PROPLIST:HdrTextColor,11} = Color:White
?Browse:1{PROPLIST:HdrBackColor,12} = Color:Red
?Browse:1{PROPLIST:HdrTextColor,12} = Color:White
As you edit the LIST the column numbers change. So best not use use 11 and 12 instead use a Template to generate Equates like this one:
When you paste code (like your LIST) be sure to select it and press </> so it is formatted as CODE; otherwise, all your Quotes CHR(39) get changed to Typesetter quotes so the pasted code cannot be used.