Online documentation, manuals and tutorials
< All Topics
Print

Input (EEZ-GUI)

Description

The widget is used when we want to enter a number or text. In order for this widget to work, the project must define a page for entering text and a page for entering numbers. See some of the examples listed under Examples of how these pages are defined.

Properties

Specific

Data

EXPRESSION (any)

The variable in which the entered number or text will be stored.

Input type

Enum

Choose whether Number or Text is entered.

Min

EXPRESSION (any)

If Input type is set to Number then this number represents the minimum number that needs to be entered, and if it is set to Text then this property represents the minimum number of characters that need to be entered.

Max

EXPRESSION (any)

If Input type is set to Number then this number represents the maximum number that needs to be entered, and if it is set to Text then this property represents the maximum number of characters that need to be entered.

Precision

EXPRESSION (any)

If Input type is set to Number then this property defines the precision of the entered number. If a number with higher precision (more decimal places) is entered, then the number will be rounded to this precision. For example if we set it to 0.01 then the number will be rounded to two decimal places.

Unit

EXPRESSION (any)

If Input type is set to Number then this property defines the unit that will be used, i.e. printed to the right of the numerical value.

Password

Boolean

If Input type is set to Text and a password is entered, then this property should be enabled so that * is displayed instead of characters when entering the password.

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
  • stm32f469i-disco-eez-flow-demo
Page content