|
|
|
|
|
- Item characteristics
- Updating an item with the data from the Check Box control
Binding a Check Box control to an item
A Combo Box control can be bound to an item in a data file, query, etc. The following types of items can be bound to a Check Box control: - 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.
Updating an item with the data from the Check Box control 1st case: window, page or report fields are bound to fields in a data file (Binding) All the items in the data file (or a related file) that are bound to a control in the window, page or report will be updated by ScreenToFile. 2nd case: window, status or page fields are not associated with items in a data file. The value of each control must be assigned to each item. - The Check Box control field has a single option: use the following syntax to update the field:
<Data file>.<Item> = <Check Box control> - The Check Box control field has several options and is linked to an array field: use the following syntax to update the field:
<Data file>.<Item>[Option index] = <Check Box control>[Option index]
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|