Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TAdvStringGrid
How to draw text with end ellipsis when it is too long to fit in a cell
How to draw text with end ellipsis when it is too long to fit in a cell
The grid has a built-in capability to draw text with end ellipsis when it is too long to fit in a cell. This is enabled for non word wrapped text when grid.EnhTextSize = true.
Example:
begin advstringgrid1.WordWrap := false; advstringgrid1.EnhTextSize := true; advstringgrid1.Cells[1,1] := ''this is some long text''; end;