Programmieren mit dBASE PLUS: Funktionen: loadChildren

Aus Wikibooks
Zur Navigation springen Zur Suche springen
Wikibooks buchseite.svg Zurück zu Funktionen | One wikibook.svg Hoch zu Regal EDV | Wikibooks buchseite.svg Vor zu Inhaltsverzeichnis


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.