RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.SetSelLength Method

Sets the SelLength property.

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

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

SetSelLength sends an EM_SETSEL message to the window of the edit control, specifying a selection that begins at SelStart and ends at SelStart + Value. 

 

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