AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Barra de progreso
  • Overview
  • Making the progress bar change
  • Non-symmetric progress bar (linear or circular)
  • Symmetric progress bar
  • Retrieving the position of the progress bar
  • Modifying the position of the progress bar
  • Properties specific to Progress Bar controls
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview
A Progress Bar control can be handled programmatically. To do so, use the variable of the Progress Bar control in the code.
The variable of the Progress Bar control:
  • corresponds to the name of the Progress Bar control.
  • is initialized with the position of the progress bar.
Making the progress bar change
AndroidiPhone/iPad

Non-symmetric progress bar (linear or circular)

The progress is performed from the lower bound to the upper bound.
FOR I = PROGBAR_ProgBar1.MinValue _TO_ PROGBAR_ProgBar1.MaxValue
PROGBAR_ProgBar1 = I
END
iPhone/iPad

Symmetric progress bar

The progress is performed as follows:
FOR I = 2 * PROGBAR_ProgBar1.MinValue - PROGBAR_ProgBar1.MaxValue _TO_ PROGBAR_ProgBar1.MaxValue
PROGBAR_ProgBar1 = I
END
Retrieving the position of the progress bar
To retrieve the position of a progress bar, use the following syntax:
<Position> = <Progress Bar control>
<Position> is an integer variable.
Note: It's also possible to use the Value property.
Modifying the position of the progress bar
To modify the position of a progress bar, use the following syntax:
<Progress Bar control> = <Value>
<Valeur> is a value between the minimum and maximum value of the ProgressBar.. These values have been described in the control description window or programmatically with the MinValue and MaxValue properties.
Note: It's also possible to use the Value property.
Properties specific to Progress Bar controls
The following properties are used to manipulate a Progress Bar control programmatically.
BackgroundImageAllows you to get and change the background image of a Progress Bar control.
HorizontalAlignmentAllows you to get and change the horizontal alignment of the percentage of progress displayed in the Progress Bar control.
ImageAllows you to get and change the progress image of a Progress Bar control.
MaxValueAllows you to get and change the upper bound of a Progress Bar control.
MinValueAllows you to get and change the lower bound of a Progress Bar control.
TextProgressBarAllows you to get and change the text displayed in a Progress Bar control (instead of the percentage).
VerticalAllows you to know whether the progress bar is horizontal or vertical.

For a complete list of WLanguage properties that can be used with Progress Bar controls, see Progress Bar control properties.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local