Skip to main content
A newer version of this page is available. .

TdxCustomTreeView.LoadDataFromFile(string) Method

Loads all Tree View settings from the specified file.

Declaration

procedure LoadDataFromFile(const AFileName: string);

Parameters

Name Type Description
AFileName string

A source file name.

Remarks

This procedure loads the Tree View structure and values of all node properties for each node.

A LoadDataFromFile procedure call raises the EdxTreeViewException exception if the loaded information is not valid.

Note

You can call a SaveDataToFile procedure to save the Tree View structure and settings to a file. The LoadDataFromFile procedure does not support files created by a SaveToFile procedure call.

See Also