Programmieren mit dBASE PLUS: Funktionen: loadChildren

Aus Wikibooks

Wechseln zu: Navigation, Suche
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.

[Bearbeiten] 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.

[Bearbeiten] Eigenschaft von

TreeView

[Bearbeiten] 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.

Persönliche Werkzeuge