FMX.Memo.Types.TCaretPosition.Create
Delphi
class function Create(const ALine, APos: Integer): TCaretPosition; static; inline;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Text.pas | FMX.Memo.Types | TCaretPosition |
Description
Creates a new instance of TCaretPosition.
The Create method takes the following Integer parameters:
Parameter | Description |
---|---|
ALine
|
Represents the line number of the zero-based caret. On the TCaretPosition creation, the value of ALine is assigned to the Line field.
|
APos
|
Represents the horizontal shifting of the zero-based caret. On the TCaretPosition creation, the value of APos is assigned to the Pos field.
|