PC SOFT

WINDEV的在线文档

  • Overview
  • Retrieving the cursor position
  • Modifying the cursor position
  • Properties specific to the management of a Scrollbar control
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Handling a Scrollbar control by programming

Overview
WinDev and WinDev Mobile allow you to handle a Scrollbar control by programming. To do so, use the variable of the scrollbar control in the code.

The variable of the Scrollbar control:

  • corresponds to the name of the scrollbar.
  • is initialized with the position of the scrollbar box.

Retrieving the cursor position
To retrieve the position of the cursor in a a Scrollbar control, use the following syntax:

<Position> = <Scrollbar Name>

<Position> is an integer variable

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

Modifying the cursor position
To modify the position of the cursor in a a Scrollbar control, use the following syntax:

<Scrollbar Name> = <value>

<Value> is a value found between the minimum value and the maximum value of the scrollbar. 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 Scrollbar control
The following properties are used to manage the characteristics of a Scrollbar control by programming.

20版本和更高版本
进度步长
20新版本
进度步长
进度步长
Used to find out and modify the scroll step of a Scrollbar control.
快进Used to find out and modify the scroll value of a Scrollbar control.
最大界限Used to find out and modify the maximum bound of a Scrollbar control.
最小界限Used to find out and modify the minimum bound of a Scrollbar control.

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