TiEditCustom.SelStart
TiEditCustom
Specifies the position of the first selected character in the text.
property SelStart: Integer
Description
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.
Example
Delphi
Value := iComponent.SelStart;
C++ Builder
Value = iComponent->SelStart;
Contents | Index | Previous | Next