Sign in Join
FPDoc Onlineexperiment

TCustomShellTreeView.Create constructor

Member of TCustomShellTreeViewpublicIn unit ShellCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(AOwner: TComponent); override

Description

Create is the constructor for the class instance. Create calls the inherited method using the value in AOwner as the owner for the class instance.

Create sets the default values for properties, including:

UseBuiltinIcons
Set to True top enable the built-in icons in the widgetset class.
PathDelimiter
Set to the platform-specific PathDelim from the SysUtils unit.
Options
Includes tvoReadOnly in the set to match the default value for the ReadOnly property.
ObjectTypes
Set to [otFolders] to display folders (but not files) in the tree view.

Create initializes internal members used to monitor the Root property for changes to its value, and the find options used to locate nodes in the Items for the tree view control. Find options include use of case-insensitive comparisons in node values when the CaseInsensitiveFilenames compiler define is enabled.

Please note: Values in the Items property are populated when the Loaded method is called during component streaming.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.