PC SOFT

WINDEV的在线文档

  • 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 the management of a progress bar
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
A Progress Bar control can be handled by programming. 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.
  • is initialized with the position of the progress bar.

Making the progress bar change
WinDevWindows

Non-symmetric progress bar (linear or circular)

The progress is performed from the lower bound to the upper bound.

对于IPROGBAR_ProgBar1..最小界限最优直到PROGBAR_ProgBar1..最大界限
PROGBAR_ProgBar1I
结束

WinDevWindows

Symmetric progress bar

The progress is performed as follows:

对于I2*PROGBAR_ProgBar1..最小界限-PROGBAR_ProgBar1..最大界限最优直到PROGBAR_ProgBar1..最大界限
PROGBAR_ProgBar1I
结束

Retrieving the position of the progress bar
To retrieve the position of a progress bar, use the following syntax:
<Position> = <Name of Progress Bar>

<Position> is an integer variable.

Note: You also have the ability to use ..值.

Modifying the position of the progress bar
To modify the position of a progress bar, use the following syntax:
<Name of Progress Bar> = <Value>

<Value> is a value found between the minimum value and the maximum value of the progress bar. These values have been described in the description window of the control or by programming with ..最小界限 and ..最大界限.

Note: You also have the ability to use ..值.

Properties specific to the management of a progress bar
The following properties are used to manage the characteristics of a progress bar by programming.
最大界限Used to find out and modify the upper bound of a progress bar.
最小界限Used to find out and modify the lower bound of a progress bar.
水平对齐Used to find out and modify the horizontal alignment of the percentage of progress displayed in the progress bar.
图片Allows you to find out and modify the image used in a progress bar.
背景图片Used to find out and modify the background image of a progress bar.
进度条文本Used to find out or modify the text displayed in a progress bar (instead of the percentage).
垂直Used to find out whether the progress bar is horizontal or vertical.

To find out the entire list of WLanguage properties that can be used with a Progress Bar control, see Properties associated with the Progress Bar control.