Sign in Join
FPDoc Onlineexperiment

TCustomMemo.GetCaretPos function

Member of TCustomMemoprotectedIn unit StdCtrls

Get the value for the CaretPos property.

Declaration

pascal
function GetCaretPos: TPoint; override

Function result

Returns the position of the editing cursor or caret.

Description

GetCaretPosition is an overridden method in TCustomMemo used to get the value for the CaretPos property. It calls the GetCaretPos method in the widgetset class to get the return value for the method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.