TResourceTreeNode.CreateResource function
Creates a new resource
Declaration
function CreateResource: TAbstractResource; virtualFunction result
The newly created resource
Description
This method creates a new resource.
A new resource is created and its type, name and language id are determined from the ancestor nodes in the tree hierarchy.
Usually CreateResource is called by resource readers that read files in which resources are stored as trees.
This method is meaningful only when called on leaf nodes (language id nodes).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
