Page tree
Skip to end of metadata
Go to start of metadata

To create a select button in a ribbon or toolbar, first navigate to the Menu desktop and, in the Menus grid of the Menu Structure tab, open the ribbon/toolbar to which the control will be added.


In the Tree block of the ribbon, select the Dropdown type and create the item as child of one your ribbon's blocks or as a direct child of your toolbar. Here you can give the select button a name and an icon. Save the changes.


Next, to populate the control, you can add Items to it as children. In the Tree block of the ribbon, select the Item type and add it as child of the select button. Each will be given a label, a code to identify it, an icon and a related menu function. If you have multiple items in a select control, you can specify their order through the Sequence field.


If you open the screen containing the ribbon/toolbar, you can use the select button to launch the respective functions of the select options.


The select button can be hidden from the ribbon/toolbar or shown again programatically through the hideItem / showItem CLAPI methods, or disabled/enabled using disableItemenableItem. Hiding and disabling the select button's options can be done through the hideSubitem / disableSubitem CLAPI methods.

  • hideSubitem(itemName, subitemName)

  • showSubitem(itemName, subitemName)

  • disableSubitem(itemName, subitemName)

  • enableSubitem(itemName, subitemName)

These 4 methods are case sensitive. ItemName and subitemName are the values added in the “Menu structure code“, when creating the select button and its children.

  • No labels