Extended LIST properties

I have a class that extends a standard LIST control. 2 missing properties have been implemented so far: multiline text and unicode.

Multiline text (word wrap):

Unicode (UTF-8, UTF-16):

No template support yet. If you’re interested in such 3rd party please let me know (here or privately). Estimated price 200 usd.

Requirements: Clarion 6.3 and higher.
No additional binaries.

2 Likes

Sounds like a perfect ClarionLive webinar!

Will word wrap do say 20 lines and adjust as the column width changes?

I can assume that there is not.

The picture shows that the line height is two, regardless of the content.
Then, on the fly, the row is divided into two column widths, using an algorithm similar to the standard AutoSizeColumn class.

This is a beautiful example, but it does not solve the problems of LIST control. :man_shrugging:
I hope that I have not revealed the secret of the trick. :grinning:

Mmm… What problems is this example supposed to solve?

Thanks for the demonstration of the function.
One of the limitations of LIST is the presence of multi-line columns.
I would like the height of EACH row to be adjusted based on the length of the content.
This is a claim to the LIST, not to your example. :man_shrugging:

No, you didn’t :grinning:

Great! So you can try to make such a scheme. But I don’t see any practical application… :grinning:

@Mike_Duglas, I meant on something like example below.

3 Likes

Clarion runtime will be unable to determine which row is (for example) clicked, because it knows that all rows have the same height (PROP:LineHeight).

Nice. :smiley:

How do you store the UTF-16 and UTF-8 in a dictionary table?

The class provides great flexibility for customizing list cells. This example demonstrates the optional use of bar charts in cells:

Download full video

3 Likes