RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.GetSelStart Method

Returns the SelStart property.

Pascal
function GetSelStart: Integer; virtual;
C++
virtual __fastcall int GetSelStart();

GetSelStart 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.  

GetSelStart sends an EM_GETSEL message to the window of the edit control and returns the starting position. 

 

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