|
|
|
|
|
- Overview of the Check Box control
- Check Box control in a window or page
- Creating a Check Box control
- Display modes available
- Three-state check box
- Limitations of Check Box controls in Java
- Limitations in Android and iOS
- Check Box control in a report
- Using a Check Box control
- Check Box in a Table control
- "Check Box" column in a Table control
- Check Box control and data binding
- Permuter
Overview of the Check Box control A Check Box control can correspond to: - a control allowing the user to answer a question with Yes or No in a window or page.
- a column of a Table control allowing the user to select one or more rows.
- a checkbox displayed in a report.
- an interactive checkbox displayed in a form report.
Check Box control in a window or page In the window or page editor, a Check Box control allows the user to answer a question with Yes or No: - if the option is checked, the option is set to True.
- if the option is unchecked, the option is set to False.
A Check Box can display up to 256 options. Users select the desired options. For each option, the check box returns the option status. Creating a Check Box control To create a Check Box control: - On the "Creation" tab, in the "Usual controls" group, click "Check Box".
- Click where the control will be created in the window or page. The control appears in the editor.
Tip: It is also possible to directly create a "pre-formatted" Check Box control by scrolling down "Check Box control".. The list of available controls is displayed with the project skin template. Simply click the control you want to create in the editor. This list proposes to create Switch controls. For more details, see Switch control. To view the characteristics of the control, select "Description" in the context menu. Check Box control in a report Check Box in a Table control Check Box control and data binding Check Box controls can use data binding under the following conditions:- if the Check Box control has a single option, it must be linked to a simple variable
- if the Check Box control has several options, it must be linked to an array.
If this condition is not respected, a UI error will be generated. WINDEV, WINDEV Mobile and WEBDEV allow you to automatically transform a Check Box control into a Radio Button control and vice versa: - Select the control to transform in the window or page.
- On the "Modification", in the "Transformations" group, expand "Refactoring and swapping" and select "Radio Button / Check Box".
Related Examples:
|
Unit examples (WINDEV): The Check Box control
[ + ] Using a check box control.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|