Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.Create constructor

Member of TCustomTreeViewpublicIn unit ComCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(AnOwner: TComponent); override

Arguments

AnOwner

Owner of the class instance.

Description

Create is the constructor for TCustomTreeView. It calls the inherited Create method, and sets the default values for members and properties in the class instance. These include:

  • Width
  • Height
  • Color
  • ParentColor
  • BorderStyle
  • BorderWidth
  • TabStop
  • DefaultItemHeight
  • ExpandSignType
  • Options
  • ScrollBars
  • SortType
  • SelectedColor
  • SelectedFontColor
  • SeparatorColor
  • HotTrackColor
  • DisabledFontColor
  • Indent
  • PathDelimiter

Create allocates resources needed for properties including:

  • Items

It also allocated resources for internal members including:

  • change timer
  • state change link
  • tree node editor

Create assigns and configures event handler routines used internally in the class instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.