Applies to: ABC windows with a resize embed; posted in the Clarion 10 group.
Problem
The poster highlighted some list box rows by type with PROPLIST:Style. All text on the form was meant to resize with the window. After the Resize embed he looped through all fields to modify the font size, but rows with a non-default style did not resize. He found no PROPLIST:FontSize or similar property and fell back to using colors instead, which needs four new fields per column.
Solution
Set the font size of the style itself, per style number, with the PROPSTYLE property:
?somelist{PROPSTYLE:FontSize, x} = y
where x is the style number and y the size. The poster said this was perfect. He remarked that the help does not link from PROPLIST:Style to the PROPSTYLE properties, so they are hard to find.
Caveats
- The thread does not show the full resize loop, so how the style sizes were derived from the window size is not covered.
- Another reply offered a procedure that runs lists through 25 styles with colors and fonts, but the dump holds only its first line.
- The fix was confirmed on the version he used and was not tried elsewhere.
Today (2026)
Not re-tested. PROPSTYLE properties are part of the list box language, likely still valid on current Clarion.
Sources: Andrej K. (Jan 2017, the question), Simon K. (Jan 2017), Martin H. (Jan 2017) in sv.clarion.clarion10.