Skip to main content

TcxTreeList.SaveToFile(string) Method

Saves the TreeList control to a file.

Declaration

procedure SaveToFile(const AFileName: string);

Parameters

Name Type
AFileName string

Remarks

Call this method to store data to the file specified by the AFileName parameter.

This method is useful if you want to persist TreeList modifications made at runtime.

The TreeList control can later be reloaded from the file by using the LoadFromFile method.

See Also