RAD Studio VCL Reference
|
Indicates the position of the caret in the client area of the memo.
property CaretPos: TPoint;
__property TPoint CaretPos;
Use CaretPos to determine the coordinates of the cursor. CaretPos defines a location onscreen, in characters, with the origin in the top left corner of the memo. X specifies the horizontal coordinate of the point, Y specifies the vertical coordinate.
To determine the position of the caret in terms of characters of text only (rather than X/Y location), use the SelStart property.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|