[Overview][Types][Classes][Procedures and functions][Index] |
Creates a new tree node for the shell control.
Source position: shellctrls.pas line 106
protected function TCustomShellTreeView.CreateNode: TTreeNode; override; |
New tree node created in the method.
CreateNode is an overridden method used to create an new TTreeNode instance for the shell control. CreateNode calls the inherited method to create the class instance used as the return value for the method.
CreateNode ensures that the tree node is a TShellTreeNode class instance; the class type can be overridden in the OnCreateNodeClass event handler. If the new tree node is not derived from TShellTreeNode, an EShellCtrl exception is raised to indicate the invalid node type.
Raises an EShellCtrl exception if the new tree node is not derived from TShellTreeNode.
|
Represents tree nodes in TCustomShellTreeView / TShellTreeView. |
|
|
Exception raised for errors occurring in shell controls. |
|
|
Class type used to create new TTreeNode instances. |
|
|
Event handler signalled to get the class reference used to create new tree nodes. |
Version 4.0 | Generated 2025-05-03 | Home |