Description

The Menu control allows you to create special switches that open a menu. This menu is filled with the available values delivered by the connected parameter. You can choose to open a tree menu control instead of the the standard menu, which is helpful when the number of available options increases. The menu itself can show a bitmap for its off state and the hover state, but it can also work without any bitmaps. Often, it is used in combination with a dedicated background image and a text control that shows the selected value. Menu and text controls are connected to the same parameter.

 


On this page:


Properties

PropertyDescription
NameThe name of the Menu.
Position/Size
Attach
Tooltip
Value
Style
  • Popup: If this option is activated, a tree menu is displayed instead of the standard menu.
  • Hover: Shows a dedicated bitmap when hovering over the menu.
  • Shaped: The control only reacts when you click the visible pixels, that is, the pixels with an alpha value > 0.
  • Scalable: Activate this option if you want to be able to resize the switch. In that case, the assigned bitmap resources are resized according to the scale mode that is defined for the bitmap resource.
  • Checkable: Activate this option to show a check mark for the selected menu item. Deactivate this option if you want to be able to use a menu entry, for example, to call a script function. In this case, no check mark is wanted, and the same menu item can be clicked repeatedly.
Bmp Off
Allows you to assign the bitmap that is used for the off state.
Bmp Hover
Allows you to assign the bitmap that is used for when the mouse is hovering over the control.