Skip to main content
You are viewing help content for a version that is no longer maintained/updated.

TCustomdxTreeView.DoCustomDraw(TTreeNode,TFont,TColor,TColor) Method

DoCustomDraw is a protected implementation method for the control’s OnCustomDraw event.

Declaration

procedure DoCustomDraw(TreeNode: TTreeNode; AFont: TFont; var AColor: TColor; var ABkColor: TColor); virtual;

Parameters

Name Type
TreeNode TTreeNode
AFont TFont
AColor TColor
ABkColor TColor

Remarks

The DoCustomDraw method does nothing except call any event handler attached to the OnCustomDraw event.

When creating a component that descends from the TCustomdxTreeView, override the DoCustomDraw to provide other responses in addition to the inherited event-handler call.

Note: This method is overridden in the dxDBTreeView controls.

See Also