RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.CustomDrawSubItem Method

Custom draw subitem event dispatcher.

Pascal
function CustomDrawSubItem(Item: TListItem; SubItem: Integer; State: TCustomDrawState; Stage: TCustomDrawStage): Boolean; virtual;
C++
virtual __fastcall Boolean CustomDrawSubItem(TListItem Item, int SubItem, TCustomDrawState State, TCustomDrawStage Stage);

CustomDrawSubItem generates an OnCustomDrawSubItem or OnAdvancedCustomDrawSubItem event, depending on the current painting stage and the existence of an event handler. It returns a value indicating whether the list view should continue by drawing the text of the subitem (true) or not (false). 

 

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