00 Votes

Lazarus: Display dots if StringGrid Cell Content is too long

Question by Guest | 2016-02-13 at 16:40

I am using the TStringGrid in Lazarus and sometimes, the content of some of my cells is so long that it is not fitting properly into the column.

At the moment, the content is just cut in this case. However, I would like to show three points at the end of the content instead of this behaviour, so that the user knows that there is something more. How can I realize that?

ReplyPositiveNegative
1Best Answer1 Vote

Your StringGrid is providing the property Options > goCellEllipsis.

If you set this property to TRUE, the three dots are displayed if the content is too long.
2016-02-13 at 16:59

ReplyPositive Negative
Reply

Related Topics

HTML: Table - Merge Cells

Question | 1 Answer

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.