Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3695

MultiLine in Listbox

$
0
0

I’m trying to figure out how to display multiline text in a cell, and grow the height of the cells to properly show the text.

My text will have EndOfLine characters to split it into lines. It may be 1,2 or maybe up to 5 lines.

I know I use g.DrawString In the CellTextPaint event.

What I can’t figure out is how to size things on the fly, based on how many lines, and accounting for font height.

Any tips appreciated

6 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3695

Trending Articles