TSDLMemo

TSDLMemo is a wrapper for a multiline edit control. It is a descendant of TSDLScrollControl. Properties are:

property Lines[Index: Integer]: string read GetLines;
Contains the individual lines of text in the memo control.
property Text: string read GetText write SetText;
Specifies the entire text that is displayed in the memo field.
property CursorColor : Cardinal read FCursorColor write FCursorColor;
Color of the cursor. Default is black.
property ReadOnly: Boolean read FReadOnly write FReadOnly default False;
Determines whether the user can change the text of the memo control.

Methods are:

procedure LoadFromFile(const FileName: string);
Loads text from a file.
procedure SaveToFile(const FileName: string);
Saves text to the file.