PC SOFT

WINDEV的在线文档

  • Overview
  • Retrieving the value of the spin
  • Modifying the value of the spin
  • Properties specific to the management of a Spin 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 spin control by programming

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

The variable of the Spin control:

  • corresponds to the name of the Spin control.
  • is initialized with the value of the spin.

Retrieving the value of the spin
To retrieve the value of the spin, use the following syntax:

<Position> = <Spin Name>

<Position> is an integer variable.

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

Modifying the value of the spin
To modify the value of the spin, use the following syntax:

<Spin Name> = <Value>

<Value> is a value included between the minimum value and the maximum value of the spin. 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 Spin control
The following properties are used to manage the characteristics of a spin by programming.
快进Enables you to find out and modify the increment step of a spin.
最大界限Enables you to find out and modify the upper bound of a spin.
最小界限Enables you to find out and modify the lower bound of a spin.

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