Online documentation, manuals and tutorials
< All Topics
Print

ButtonGroup

Description

Shows a group of buttons. The total number of buttons and their labels are defined with Button labels. Only one of those buttons can be selected, which is defined by the Selected button item. If the button is selected, then Selected style is used, otherwise Default style is used when rendering an individual button.

Properties

Specific

Button labels

EXPRESSION (any)

Specifies the labels of all buttons. The number of elements in this string array defines how many buttons will be displayed.

Selected button

EXPRESSION (any)

Determines which button is selected. It is a zero-based integer, which means that if its value is 0, the first button will be selected, if its value is 1, the second button will be selected, etc. If we want no button to be selected, we will use the value -1.

Visible

EXPRESSION (boolean)

If the calculated expression is true then the Widget is visible, and if it is false then the Widget is hidden. It can be left blank, in which case the Widget is always visible.

Examples

  • eez-gui-widgets-demo
Page content