TCustomComboBox.SelLength property
The number of selected UTF-8 characters in the edit box.
Declaration
property SelLength: Integer read GetSelLength write SetSelLength;Description
SelLength is an
Integer property which indicates the
number of UTF-8-encoded characters selected in the edit box for the control.
SelLength is used along with
SelStart to determine the value in
SelText.
Use SelStart to determine the position in Text for the selected value in the edit box for the control.
Use SelText to get the content selected in the edit box. Assigning a new value to SelText causes the value in SelLength to be updated.
SelLength is updated in the SelectAll method after the selection
text is updated. It is also updated when KeyUp performs
auto-completion for alphanumeric values entered in the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
