Vcl.ComCtrls.TCustomTreeView.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomTreeView(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomTreeView(HWND ParentWindow) : Vcl::Controls::TWinControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Creates an instance of a TTreeView control.
Call Create to instantiate a tree view at runtime. Tree view controls placed on forms at design time are created automatically. After calling the inherited constructor, Create initializes many properties the control, including setting BorderStyle to bsSingle and setting ShowButtons, ShowRoot, and ShowLines, and HideSelection to true.