Zum Inhalt springen

Programmieren mit dBASE PLUS: Funktionen: loadChildren

Aus Wikibooks


Loads and instantiates TreeItems from a text file.

Syntax

[Bearbeiten]

<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

[Bearbeiten]

TreeView

Beschreibung

[Bearbeiten]

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.