Skip to main content
Table of Contents

TTMSFNCCustomMemo.TextPosToPos Method

Converts a text position to a caret position.

API unit family: TMSFNCMemo Declaring type: TTMSFNCCustomMemo

Syntax

FMX.TMSFNCMemo.hppPascalC++
function TextPosToPos(const APos: Integer): TTMSFNCMemoCaretPosition;
TTMSFNCMemoCaretPosition __fastcall TextPosToPos(const int APos);

Parameters

Name Description
APos The text position to convert or start searching from.

Returns

The caret position for the text position.