ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellTreeNodes.AddShellNode

Creates a new node for a TJamShellTree.

Syntax
Pascal
function AddShellNode(pParent: TJamShellTreeNode; const pCaption: string = ''): TJamShellTreeNode;
Parameters 
Description 
pParent: TJamShellTreeNode 
The parent node, pass nil to create a root node. 
const pCaption: string = '' 
Optional. The initial cpation of the new node. 

TJamShellTreeNode: The newly created node

It is important to use this function to create a new node in a TJamShellTree, and not the methods of the base class.