OverviewExamples
Presents a dialog box with a combo box control on it.
(string) The text to be displayed on the title bar of the dialog.
(string) The text that will appear above the combo box.
(table) A numerically indexed table containing the list of items that should be available in the combo box.
(string) The default item that should be selected in the combo box. Use an empty string ("") for nothing to be selected.
(boolean) Whether the items in the drop-down area should be sorted or not:
VALUE |
DESCRIPTION |
true |
Sort the items in the drop down. |
false |
Don't sort the items. (Default) |
(boolean) Whether the combo box text should be editable or if the user has to choose an item from the list:
VALUE |
DESCRIPTION |
true |
The combo box text should be editable. |
false |
The user must choose an item from the list. (Default) |
(number) The icon to display on the dialog:
CONSTANT |
VALUE |
DESCRIPTION |
MB_ICONNONE |
0 |
None. |
MB_ICONSTOP |
16 |
Stop. |
MB_ICONQUESTION |
32 |
Question. (Default) |
MB_ICONEXCLAMATION |
48 |
Exclamation. |
MB_ICONINFORMATION |
64 |
Information. |
(string) The item that was selected from the combo box or the text that was entered if the field was editable, if the OK button is pressed. It will return "CANCEL" if the Cancel button is pressed. If an error occurs, a blank string "" will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions