[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The zero-based UTF-8 index of the begin of the selection in the edit box.
Source position: stdctrls.pp line 403
public property TCustomComboBox.SelStart : Integer |
If text is selected, this is the starting position, otherwise the cursor position.
When no text is selected, SelStart is the cursor position, and SelLength=0.
Writing moves the cursor, and removes the selection. Set SelLength after changing SelStart, to establish a new selection.
SelStart is a zero-based UTF-8 index into Text, in contrast to usual 1-based string indices. A value 1 means the second UTF-8 character.
|
The number of selected UTF-8 characters in the edit box. |
|
|
The selected text in the edit box. |
lazarus-ccr.sourceforge.net |