Loads and instantiates TreeItems from a text file.
Syntax
<oRef>.loadChildren(<filename expC>)
<oRef>
The TreeView object to contain the TreeItems.
<filename expC>
The name of the text file containing the TreeItem objects and properties.
Eigenschaft von
Beschreibung
Use loadChildren( ) to load TreeItem object definitions and properties from a text file, and instantiate them as the children of an existing TreeView object. The file containing the TreeItems may have been created in a text editor, or by any TreeView object’s streamChildren( ) method.
loadChildren( ) releases all existing child TreeItems in the TreeView and replaces them with the TreeItems in the text file.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.