Vcl.StdCtrls.TCustomEdit.SetSelLength

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetSelLength(Value: Integer); virtual;

C++

virtual void __fastcall SetSelLength(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

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