API:Vcl.ComCtrls.TCustomRichEdit.SetSelLength

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetSelLength(Value: Integer); override;

C++

virtual void __fastcall SetSelLength(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Sets the SelLength property.

Vcl.ComCtrls.TCustomRichEdit.SetSelLength inherits from Vcl.StdCtrls.TCustomEdit.SetSelLength. All content below this line refers to Vcl.StdCtrls.TCustomEdit.SetSelLength.

Sets the SelLength property.

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.

See Also