TCustomVirtualStringTree.AdjustPaintCellRect Method

Virtual Tree View

Method which can be used by descentants to adjust the given rectangle during a paint cycle.

Pascal
procedure AdjustPaintCellRect(var PaintInfo: TVTPaintInfo; var NextNonEmpty: TColumnIndex); override;
Description

For some special behaviour, like the auto span column feature, it is necessary to tell the base treeview which rectangle is to be considered as the current paint cell when drawing the tree. ClipRect is set to a rectangle which corresponds to the current node and the current column in the paint cycle.

Class
Links
What do you think about this topic? Send feedback!