RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTVCustomDrawEvent Type

Used in the TCustomTreeView.OnCustomDraw event.

Pascal
TTVCustomDrawEvent = procedure (Sender: TCustomTreeView; const ARect: TRect; var DefaultDraw: Boolean) of object;
C++
(Sender: TCustomTreeView; const ARect: TRect; var DefaultDraw: Boolean) ( TTVCustomDrawEvent)();

ComCtrls

This event is used in the TCustomTreeView.OnCustomDraw event. 

Sender is the tree-view control that is about to be painted.  

ARect is the rectangle that defines the boundaries of the tree-view control. 

DefaultDraw specifies whether the control should paint itself after the event handler exits. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!