Manufacturing
Anywhere Mobility Studio
Flows
You can add a control of type Button to a form.
For a button, also define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
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: Button
Create form control: Button
You can add a control of type Button to a form.
For the button, also define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
Procedure
1. Click Mobility design.
2. Click the Forms tab.
3. In the list, find and select the desired record.
4. Click Edit.
5. In general, if you add a button 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 Button.
8. Sub-task: Define control properties.
9. In the Control field, type the 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. In the Hotkeys field, select an option.
13. If you do not want the hotkey to be shown, select No in the Include hotkey in caption field.
14. If you do not want to have the button caption shown, select No in the Show caption field.
15. If you want to hide the button on the form, select No in the Visible field.
16. By default, the button can be used on the form.
If the button must be unavailable on the form, select Yes in the Read-only field.
Note: If the button is read-only, it appears dimmed.
17. If the next control must be positioned on a new line, select Yes in the Append new line field.
18. If the validation must be done when the button is clicked, select Yes in the Validate text box field
19. If you want the values of the selected record in the grid to be copied to the related variables, select Yes in the Validate grid field.
20. In general, if you add a button control, it is positioned before the selected control on the form. You can also position a button at the footer of the form.
If you want to position the button at the footer of the form, select Yes in the Stick to footer field.
Note: You can only stick a button to the footer if Append new line is set to Yes.
21. In the Documentation section, write the button control documentation.
For example, describe the purpose and characteristics of the button control.
22. To show the added control on the preview, on the Design tab, click Refresh.
Notes
On the preview, you can use a button form control in these ways:Click the control to show the related properties.Double-click the control to navigate to another form, as defined for the button.In general, if you add a button control, it is positioned before the selected control on the form. An exception are button controls for which the Stick to footer property is set to Yes. These are always positioned at the footer of 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.
Design control
event procedure
Design control event procedure - Button
For a button, define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
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
Activities
Name
Responsible
Description
Create form control - Button
Designer
You can add a control of type Button to a form.
For the button, also define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
Design control event procedure - Button
Designer
For a button, define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
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.
Activities
Name
Responsible
Description
Create form control - Button
Designer
You can add a control of type Button to a form.
For the button, also define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
Design control event procedure - Button
Designer
For a button, define the control event procedure. A control event procedure has one or more actions that are done when the button is clicked.
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.