|Top Previous Next|
Allows custom drawing of table backgrounds
TRVTableDrawBackEvent = procedure(Sender: TRVTableItemInfo; Canvas: TCanvas;
(introduced in version 17)
Sender – the table to draw background for (background can be drawn for the table itself or for the table cells).
Canvas – canvas where to draw.
Left, Top, Right, Bottom – rectangle for the background.
TableSelected – True if this table is selected completely.
CellSelected – True if this cell is selected.
Printing – True if this drawing is for printing; False if on screen.
Row, Col – row and column of the cell (or -1 if this is a table background).
DoDefault – set to False to cancel the default background drawing.
TRichView © trichview.com