RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.SetCaretPos Method

Sets the cursor position in the text.

Pascal
procedure SetCaretPos(const Value: TPoint); override;
C++
virtual __fastcall SetCaretPos(const TPoint Value);

SetCaretPos is the write implementation of the CaretPos property. 

Value is the new position of the text cursor. 

 

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