PC SOFT

WINDEV的在线文档

  • Characteristics of the item
  • Retrieving the content of the Check Box control in an item
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Check Box control linked to an item

Characteristics of the item
A Check Box control can correspond to an item in a data file, a query, ...

The following types of items can be associated with a check box:

  • Numeric
  • Boolean
  • Check Box
If the check box contains a single option, the item will take for value:
  • 1 if the box is checked
  • 0 if the box is not checked.
If the check box contains several options, an array item is required. Each element of the array item will correspond to a check box option, and will take the following value:
  • 1 if the box is checked
  • 0 if the box is not checked.

Retrieving the content of the Check Box control in an item
1st case: the window, the page or the report is associated with a data file
All the items of the data file (or linked file) associated with a control found in the window, report or page will be assigned by 屏幕填充到数据库表.

2nd case: the window, the page or the report is not associated with a specific data file

Each control must be assigned individually.

1. The check box has a single option: use the following syntax:

<File Name>.<Item Name> = <Name of Check Box>

2. The check box has several options and it is linked to an array item: use the following syntax:
<File Name>.<ItemName>[Option Subscript] = <Name of Check Box>[Option Subscript]