TTMSFNCMemoLines.AddObject Method
Appends a line with an associated object and returns the new line index.
API unit family: TMSFNCMemo
Declaring type: TTMSFNCMemoLines
Syntax
function AddObject(const S: string; AObject: TObject): Integer; override;
Parameters
| Name | Description |
|---|---|
S |
Text of the line to append. |
AObject |
Object associated with the appended line. |
Returns
Zero-based index of the newly appended line.