Vcl.ComCtrls.TCustomRichEdit.GetSelLength
Delphi
function GetSelLength: Integer; override;
C++
virtual int __fastcall GetSelLength();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomRichEdit |
Description
Returns the SelLength property.
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.