You can add a control of type Textbox to a form.
For a text box, you can also define the control event procedure. A control event procedure has one or more actions that are done if the value in the text box is changed.
If your company uses different types of mobile devices, controls can require a different layout for each device.


Designer Designer Start Start Create form control: Text box Create form control: Text box You can add a control of type Text box to a form. Procedure 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 Text box. 8. Sub-task: Define control properties. 9. In the Control field, type the text box control name. Note: Only use letters and numbers, no spaces. 10. In the Label field, enter or select a value. 11. In the Text field, type a value. 12. If you want to hide the text box on the form, select No in the Visible field. 13. If you want the control value to be cleared when the form is loaded, select Yes in the Clear on load field. 14. If you want the control value to be cleared when the form is reactivated, select Yes in the Clear on reactivate field. 15. If the text box must be unavailable on the form, select Yes in the Read-only field. As a result, the text box appears dimmed. 16. If the text box must be filled on validation, select Yes in the Required field. 17. If the next control must be positioned on a new line, select Yes in the Append new line field. 18. To link a form variable, in the Linked variable form field, enter or select the current form. 19. You can link an application variable or a form variable to the text 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 text box. 20. If you want to use the label of the extended data type, select Yes in the Get caption from extended data type field. 21. In the Text mode field, select an option. 22. In the Preview value field, type the example values. 23. In the Documentation section, write the text box control documentation. For example, describe the purpose and characteristics of the text box control. 24. To show the added control on the preview, on the Design tab, click Refresh. Notes In general, if you add a form control, it is positioned before the selected control on the form.Where the control is exactly positioned on the preview, also depends on:The Append new line property of the previous control and of the added control.The preview style sheet.You can use the Up and Down buttons on the Properties tab to move a form control to another position on the form. Is a  control event  procedure  required? Is a  control event  procedure  required? Design control event procedure

Design control event procedure - Text box

For a text box, you can also define the control event procedure. A control event procedure has one or more actions that are done if the value in the text box is changed.

Is a  device-specific  control layout  required? Is a  device-specific  control layout  required? Make control layout device-specific Make control layout device-specific If your company uses different types of mobile devices, controls can require a different layout. For example, longer labels do not fit properly on a smaller screen. So, you can define a smaller version of such a label for these small-screen mobile devices. Procedure 1. Click Mobility design. 2. Click the Forms tab. 3. In the list, find and select the desired record. 4. Click Edit. 5. On the preview, click the desired control. Note: If the control list is shown instead of the preview, in the list, find and select the desired control. 6. Click the Device/localized specific tab. 7. Click Add and fill in the fields. 8. Close the page. End End Yes No Yes No

Activities

Name Responsible Description

Create form control: Text box

Designer

You can add a control of type Text box to a form.

Design control event procedure

Designer

For a text box, you can also define the control event procedure. A control event procedure has one or more actions that are done if the value in the text box is changed.

Make control layout device-specific

Designer

If your company uses different types of mobile devices, controls can require a different layout. For example, longer labels do not fit properly on a smaller screen. So, you can define a smaller version of such a label for these small-screen mobile devices.

Design text box event procedure

Provide feedback