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?
Related Topics
Delphi/Lazarus: Catch CTRL+C in Memo or Edit and Change Clipboard Content
Tutorial | 0 Comments
Lazarus: Jump with Enter Key into next Row of StringGrid
Question | 1 Answer
What do red dots on German Autobahn Signs mean?
Question | 1 Answer
Lazarus: Multiline StringGrid Cells
Question | 1 Answer
Lazarus: Only make specific columns editable in StringGrid
Question | 1 Answer
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.
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