You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fabian-flassig edited this page Jul 24, 2024
·
10 revisions
Create a drop-down list for the user to select one of multiple options. Use insert_control_item to populate the drop list with options and reset_content to clear the drop list. Call set_control_selection to initialize the selection status.
Note that radio buttons and list boxes are other ways to present multiple options to the user. They require more space but are also more easily accessible.
Index of the column or specification of the column-span, where the control is placed.
Return value
Type
Description
control_handle
A handle to the newly created control
Events
When the user changes the selected option of a drop list, the on_change handler is called on_change_handler(text, new_index) with one string argument of the selected text and one integer argument for the index of the newly selected option.