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 8, 2026
·
3 revisions
Create a button with an attached drop-down list. Clicking the button opens a list of options for the user to choose from. Use insert_control_item to populate the list and reset_content to clear it.
Index of the column or specification of the column-span, where the control is placed.
text
string
Optional: Initial label of the button
Return value
Type
Description
control_handle
A handle to the newly created control
Events
When the user picks an option, the on_change handler is called on_change_handler(text, new_index) with the selected text and the index of the chosen option (see create_drop_list).