RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMemo.GetCaretPos Method

Returns the value of the CaretPos property.

Pascal
function GetCaretPos: TPoint; virtual;
C++
virtual __fastcall TPoint GetCaretPos();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!