Table of Contents

TTMSFNCCustomMemo.TextPosToPos Method

Converts a text position to a caret position.

API unit family: TMSFNCMemo Declaring type: TTMSFNCCustomMemo

Syntax

function TextPosToPos(const APos: Integer): TTMSFNCMemoCaretPosition;

Parameters

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

Returns

The caret position for the text position.