[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Selects the text content in the edit box for the control.
Source position: stdctrls.pp line 420
public procedure TCustomComboBox.SelectAll; |
SelectAll is a procedure used to select/highlight the Text displayed in the edit box for the control. SelectAll requires a Style that uses an edit box in the control. No actions are performed in the method when Style does not include an enabled edit box.
SelectAll sets the value in SelStart to 0 (zero) to move the selection to the beginning of the edit box, and sets SelLength to the number of UTF-8-encoded characters in Text. No selection/highlighting is performed when Text contains an empty string ('').
SelectAll is called from methods like DoEnter, KeyUp, CloseUp, and MouseUp.
|
Controls the appearance and behavior for the combo-box. |
|
|
The value in the edit box for the control. |
|
|
zero-based index to the UTF-8 character at the beginning of the selected text in the edit box. |
|
|
The number of selected UTF-8 characters in the edit box. |
|
|
The selected text in the edit box for the control. |
|
|
Updates the control when the Enter key is applied. |
|
|
Handles AutoComplete and AutoSelect for the control. |
|
|
Called when the drop-down list is closed. |
|
|
Highlights the selected text in the control when the left mouse button is released. |
Version 3.2 | Generated 2024-02-25 | Home |