Vcl.StdCtrls.TCustomMemo.GetCaretPos
Delphi
function GetCaretPos: TPoint; virtual;
C++
virtual System::Types::TPoint __fastcall GetCaretPos(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomMemo |
Description
Returns the value of the CaretPos property.
CaretPos represents the coordinates of the cursor. GetCaretPos is the protected implementation of the CaretPos property. Override this method to change the way the caret position is computed.