Saltar para o conteúdo principal
Version: v20 BETA

Indicador de progresso

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

Utilizar os indicadores

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:


Este método atribui o valor do campo Salary à variável $vTherm. 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:


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.

Termómetro predefinido

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.

Propriedades compatíveis

Barber shop - Negrito - Estilo de linha de borda -[Abaixo](properties_CoordinatesAndSizing. md#bottom) - Clase - Graduação da tela - [Enterable](properties_Entry. md#enterable) - Executar método objeto - Tipo de expressão (só "inteiro", "número", "data" ou "hora") - [Altura](properties_CoordinatesAndSizing. md#height) - Etapa de graduação -Conselho de ajuda - [Tamanho horizontal](properties_ResizingOptions. md#horizontal-sizing) - Lugar da etiqueta - Esquerda - [Máximo](properties_Scale. md#maximum) - Mínimo - Formato numérico - Nome de objeto - [Direita](properties_CoordinatesAndSizing. md#right) - Paso - Acima - Tipo - [Variável ou expressão](properties_Object. md#variable-or-expression) - Tamanho vertical - Visibilidade - Largura

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 = Iniciar a animação,
  • 0 = Parar a animação.

Propriedades compatíveis

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

Veja também