Skip to main content
Version: 20

Progress Indicator

A progress indicator (also called "thermometer") is designed to display or set numeric or date/time values graphically.

Using indicators

You can use indicators either to display or set values. For example, if a progress indicator is given a value by a method, it displays the value. If the user drags the indicator point, the value changes. The value can be used in another object such as a field or an enterable or non-enterable object.

The variable associated with the indicator controls the display. You place values into, or use values from, the indicator using methods. For example, a method for a field or enterable object could be used to control a progress indicator:

 vTherm:=[Employees]Salary

This method assigns the value of the Salary field to the vTherm variable. This method would be attached to the Salary field.

Conversely, you could use the indicator to control the value in a field. The user drags the indicator to set the value. In this case the method becomes:

 [Employees]Salary:=vTherm

The method assigns the value of the indicator to the Salary field. As the user drags the indicator, the value in the Salary field changes.

Default thermometer

The thermometer is the basic progress indicator.

You can display horizontal or vertical thermometers bars. This is determined by the shape of the object that you draw.

Multiple graphical options are available: minimum/maximum values, graduations, steps.

Supported Properties

Barber shop - Bold - Border Line Style -Bottom - Class - Display graduation - Enterable - Execute object method - Expression Type (only "integer", "number", "date", or "time") - Font - Font Color - Font Size - Height - Italic - Graduation step -Help Tip - Horizontal Sizing - Label Location - Left - Maximum - Minimum - Number Format - Object Name - Right - Step - Top - Type - Underline - Variable or Expression - Vertical Sizing - Visibility - Width

Barber shop

Barber shop is a variant of the default thermometer. To enable this variant, you need to set the Barber shop property.

In JSON code, just remove "max" property from a default thermometer object to enable the Barber shop variant.

Barber shop displays a continuous animation, like the spinner. These thermometers are generally used to indicate to the user that the program is in the process of carrying out a long operation. When this thermometer variant is selected, graphical Scale properties are not available.

When the form is executed, the object is not animated. You manage the animation by passing a value to its associated variable or expression:

  • 1 = Start animation,
  • 0 = Stop animation.

Supported Properties

Barber shop - Bold - Border Line Style -Bottom - Class - Enterable - Execute object method - Expression Type (only "integer", "number", "date", or "time") - Font - Font Color - Font Size - Height - Help Tip - Horizontal Sizing - Italic - Left - Object Name - Right - Top - Type - Underline - Variable or Expression - Vertical Sizing - Visibility - Width

See also