Table of Contents

TTMSFNCCustomMemo.PosToTextPos Method

Converts a caret position to a text position.

API unit family: TMSFNCMemo Declaring type: TTMSFNCCustomMemo

Syntax

function PosToTextPos(const APosition: TTMSFNCMemoCaretPosition): Integer;

Parameters

Name Description
APosition The caret position to convert.

Returns

The zero-based text position for the caret position.