Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.LoadFromFile Method

Loads text from the specified file.

procedure LoadFromFile(const AFileName: string);

LoadFromFile loads text into Lines object, removes service object (ClearCustObject) and sets Modified flag to False. 

Use TCustomSyntaxMemo.LoadFromFile instead Lines.LoadFromFile.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!