FMX.Memo.Types.TCaretPosition.Create

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also