RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.GetSelStart Method

Returns the SelStart property.

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

GetSelStart overrides the inherited method to implement the SelStart property for a rich edit window. GetSelLength sends an EM_EXGETSEL message to the window of the edit control and returns the starting position. 

 

SelStart 

SetSelStart

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!