Can you please show the whole list format,
Either the generated text,
or you can show the GUI again, but this time grab the splitter and move it to the right so we can everything in the tree list on the left
I’ll bet that the fields in your FROM(Q) don’t match the prop format
so content is a bit off…
That said, you appear to be in an APP so the FROM queue should be generated to match the format
which leads me guess that you used a special character like a ~ in one of the headers, or in a picture
Just brainstorming: you might run a test where you remove letters that aren’t used in English from your headers, if that solves the problem, then you still might be able to set them back in code using ?Browse{PROPLIST:Header, N} = ‘Correct Header’
If you’re in a hurry, also show us the generated FROM(Q) structure so we can compare it to the format
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:
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.
For complex LIST formats you may find my List Format Parser helpful. It let me take your posted LIST and view it in lines like below. I’ll paste this into Window… where I find it easier to change a lot of properties…sometimes. You have to know your Modifiers.
I am seeing some oddities mainly in the pictures
I’ve never seen @s0 before, but it’s probably ok
I have seen @P_PB but not @PPB again, that’s probably ok
I wasn’t familiar with seeing a period in a date picture, but the help shows it supported
Nah, I’m gonna say the problem isn’t in the pictures…
I suspect part the HT(color)HB(color) parts
I wasn’t familiar with them
and what’s more is I don’t see them documented in HELP[ Format (set LIST or COMBO layout)]
@s0 gives a ‘no string’ and @ppB gives a ‘no number’.
Seems senseless but as these columns are boolean I wanted to represent the values with colours (red for 0 or ‘No’ and green for 1 or ‘Yes’)
The period in the date picture is German. We write our dates like dd.mm.yyyy.
The HT(color)HB(color) are the result of setting the header colours in the IDE. Removing them makes the list box readable but removes the header colours.
You have many “*” Colored columns which adds 4 LONG Color fields to the Queue for each cell.
You should take a look at “Y” List Styles. That adds 1 LONG Style field to the Queue for each cell. You can have an entire column use a Style Z(#). You can have both where Z(#) is the column default then the Queue Style number overrides.
You can set colors, font and more:
Style Properties -- ?LIST{ PROPSTYLE:xxx, Style# }
-------------------------------------------------------
PropStyle:BackColor Background Color
PropStyle:BackSelected Background Color Selected
PropStyle:BarFrame Bar frame Color
PropStyle:CharSet Font Character set
PropStyle:FontColor Font Color
PropStyle:FontName Font Name
PropStyle:FontSize Font Size
PropStyle:FontStyle Font Style
PropStyle:Picture Display Picture
PropStyle:TextColor Text Color
PropStyle:TextSelected Text Color Selected
The tool is great. Thank you, it saves a lot of time.
But SYSLIST:HdrBackColor and SYSLIST:HdrTextColor are unknown to my Clarion11. It is also not documented.
I can find HdrSortBackColor and HdrSortTextColor but they are only for the sort column. Strange: This works.
Sure. I coded Proplist. Only in my reply I wrote syslist. I will continue to try.
Anyway, I get ‘unknown procedure labels’. Maybe the mistake is somewhere else.