In the tableview customdrawcell event, I have code like this:
Acanvas.Brush.Color := MyColor;
Acanvas.Font := MyFont;
In this way, the tableview CellEndEllipsis property doesn't work (because I override the customdrawcellevent).
How can I do for obtain the same result as do CellEndEllipsis property..?
You can use the onGetContentStyle event to assign your style with the necessary color and font.
And the <Column>.onGetDisplayText event to assign your text.
The DrawText Function has many capabilities, including the addition of ellipses.
For more information, please see the Windows GDI DrawText ( http://msdn.microsoft.com/en-us/library/ms533909.aspx)
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.