Skip to content

DoReadTree - TreeView

Constructs a simple tree view by loading the values from an external file

Type: Procedure

Parameters

Parameter Type Description
sFile String The name of the file containing strings that should be loaded

Syntax

Procedure DoReadTree String sFile

Call Example

Send DoReadTree sFile

Description

It is possible to construct a simple display by loading the values from an external file. Each string in the file will be parsed to form the hierarchy. The TreeLevelDelimeter property is used to distinguish levels of the hierarchy.

This sample file would create a root item with two child items:

Food
/Cake
/Steak

You can only call this method inside the OnCreateTree event.