[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Removes the item selection in the list box for the control.
Source position: stdctrls.pp line 417
public procedure TCustomComboBox.ClearSelection; |
ClearSelection is a procedure used to remove the current item selection in the list box for the control. This causes the value in ItemIndex to be changed to -1, and the value in Text is set to an empty string ('').
Use SelStart, SelLength, and SelText to access or modify the text selection in the edit control. Set SelLength to zero (0) to remove the text selection in the edit box.
|
The index of the currently selected item, or -1 if none is selected. |
|
|
The number of selected UTF-8 characters in the edit box. |
|
|
zero-based index to the UTF-8 character at the beginning of the selected text in the edit box. |
|
|
The selected text in the edit box for the control. |
Version 3.2 | Generated 2024-02-25 | Home |