RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.GetSelLength Method

Returns the SelLength property.

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

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

 

SelLength 

SetSelLength

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