Table of Contents

TTMSFNCMemo.TextPosToPos Method

Converts a text position to a caret position.

API unit family: TMSFNCMemo Declaring type: TTMSFNCMemo Inherited from: 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.