[Overview][Classes][Index] |
Adds a new resource to the tree
Source position: resourcetree.pp line 50
public procedure TResourceTreeNode.Add( |
aResource: TAbstractResource |
); virtual; abstract; |
aResource |
|
The resource to add |
This method adds a new resource to the tree, creating all needed sub nodes
Remark: | This method should only be called on root nodes (instances of TRootResTreeNode). |
If a resource with the same type, name and language ID already exists, an EResourceDuplicateException exception is raised.
|
Removes a resource from the tree |