[Overview][Resource strings][Constants][Types][Classes][Index] Reference for unit 'resource' (#fcl-res)


Gets the internal resource tree of a TResources object


Source position: resource.pp line 309

protected function TAbstractResourceWriter.GetTree(

  aResources: TResources





The TResources object whose tree must be returned

Function result

The resource tree. It is an instance of TRootResTreeNode.


This protected method can be used by descendents of TAbstractResourceWriter to obtain the internal resource tree used by a TResources object. The internal resource tree is an instance of TRootResTreeNode.

Some resource writers need to order resources with a tree structure before writing them to a file. Instead of doing this work themselves, they can use the already-ordered internal resource tree of the TResources object they must write.

See also



The root node in a resource tree

Documentation generated on: May 14 2021