TdxCustomTreeView.LoadFromFile(string) Method
In This Article
Loads node captions and positions in the Tree View control from the specified plain text file.
#Declaration
Delphi
procedure LoadFromFile(const AFileName: string); overload;
#Parameters
Name | Type | Description |
---|---|---|
AFile |
string | A source file name. |
#Remarks
The LoadFromFile procedure uses the system encoding to load node captions and positions. If the specified file’s encoding differs from the system encoding, call the LoadFromFile(System.String,System.SysUtils.TEncoding) procedure instead.
A LoadFromFile procedure call raises the EdxTreeViewException exception if the loaded information is not valid.
Note
You can call a Save
The Load
See Also