API:Vcl.ComCtrls.TCustomRichEdit.GetCaretPos
Delphi
function GetCaretPos: TPoint; override;
C++
virtual System::Types::TPoint __fastcall GetCaretPos();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomRichEdit |
Description
Returns the value of the CaretPos property.
Vcl.ComCtrls.TCustomRichEdit.GetCaretPos inherits from Vcl.StdCtrls.TCustomMemo.GetCaretPos. All content below this line refers to Vcl.StdCtrls.TCustomMemo.GetCaretPos.
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.