RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.SetSelStart Method

Sets the SelStart property.

Pascal
procedure SetSelStart(Value: Integer); virtual;
C++
virtual __fastcall SetSelStart(int Value);

SetSelStart is the property access method for the SelStart property. It is exposed as a protected method so that descendants of TCustomEdit can customize the implementation of the SelStart property.  

SetSelLength sends an EM_SETSEL message to the window of the edit control to position the cursor on the position indicated by Value. 

 

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