You can add a control of type Check box to a form.
1. | Click Mobility design. |
2. | Click the Forms tab. |
3. | In the list, find and select the desired record. |
4. | Click Edit. |
5. | If you add a control, it is positioned before the selected control on the form. |
  | On the preview, select the desired control. |
  |
Note: If the control list is shown instead of the preview, in the list, find and select the desired control. |
6. | On the Properties tab, click Add. |
7. | Click Check box. |
8. | Sub-task: Define control properties. |
8.1 | In the Control field, type the check box control name. |
  |
Note: Only use letters and numbers, no spaces. |
8.2 | You can use a label for the display name of the check box. If you use a label, do not define a Text and make sure Get caption from extended data type is set to No. |
  | In the Label field, enter or select a value. |
8.3 | In the Text field, you can enter a free text as display name. If you use a Text, do not define a Label and make sure Get caption from extended data type is set to No. |
  | In the Text field, type a value. |
8.4 | By default, the check box will be cleared on the form. |
  | If the check box must be selected by default, select Yes in the Default value field. |
8.5 | By default, the check box is shown on the form. |
  | If you want to hide the check box on the form, select No in the Visible field. |
8.6 | By default, the check box can be used on the form. |
  | If the check box must be unavailable on the form, select Yes in the Read-only field |
  |
Note: If the check box is read-only, it appears dimmed. |
8.7 | By default, the next control is positioned on the same line. |
  | If the next control must be positioned on a new line, select Yes in the Append new line field. |
8.8 | On a check box, you can use a variable as defined for the application or for the form. By default, this field is empty. So, in the Linked variable name field, you can link an application variable to the check box. |
  | To link a form variable, in the Linked variable form field, enter or select the current form. |
8.9 | You can link an application variable or a form variable to the check box. |
  | In the Linked variable name field, enter or select a value. |
  |
Note: Make sure, the extended data type of the variable has the same type as the control. In this case, it must be a check box. |
8.10 | If a variable is defined, the label of the related extended data type can be used as display name for the check box. By default, the label of the extended data type is not used. If you use the label of the extended data type as display name, do not define a Label or Text. |
  | If you want to use the label of the extended data type, select Yes in the Get caption from extended data type field. |
9. | In the Documentation section, write the check box control documentation. For example, describe the purpose and characteristics of the check box control. |
10. | To show the added control on the preview, on the Design tab, click Refresh. |
Related to | Notes |
---|---|
Check box |
  |