RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.CustomDraw Method

Custom draw event dispatcher.

Pascal
function CustomDraw(const ARect: TRect; Stage: TCustomDrawStage): Boolean; virtual;
C++
virtual __fastcall Boolean CustomDraw(const TRect ARect, TCustomDrawStage Stage);

CustomDraw generates an OnCustomDraw or OnAdvancedCustomDraw event (depending on the drawing stage and the existence of the event handler). It returns a value indicating whether the list view should continue with the default drawing behavior (true) or not (false). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!