Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomEdit.SelStart

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelStart: Integer read GetSelStart write SetSelStart;

C++

__property int SelStart = {read=GetSelStart, write=SetSelStart, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Specifies the position of the first selected character in the text.

Read SelStart to determine the position of the first selected character, where 0 indicates the first character. If there is no selected text, SelStart indicates the position of the cursor. Set SelStart to remove the current selection and position the cursor just before the indicated character.

To select a particular range of the text, first set SelStart to position the cursor, and then set SelLength to extend the selection.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance