RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.DrawCell Method

Draws a node in the outline.

Pascal
procedure DrawCell(ACol: Longint; ARow: Longint; ARect: TRect; AState: TGridDrawState); override;
C++
virtual __fastcall DrawCell(Longint ACol, Longint ARow, TRect ARect, TGridDrawState AState);

DrawCell is called automatically whenever the outline needs to draw a node. If the Style property is otOwnerDraw and an OnDrawItem event handler has been supplied, DrawCell generates an OnDrawItem event. Otherwise, DrawCell draws the node in the manner indicated by the OutlineStyle property. 

 

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