Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTreeList.SaveToFile(string) Method

Saves the TreeList control to a file.

#Declaration

Delphi
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