Define action menus for a touch-enhanced form
Define action menus on a touch-enhanced Phone or Tablet form to display a list of options.
For example, for a row-selected event on a data table, select an action menu that displays a list of options such as Edit, Delete, or Cancel.
-
Selecting Edit redirects you to a page with all the row details. You can make changes if needed.
-
Selecting Delete removes the selected row and closes the action menu.
-
Selecting Cancel closes the action menu.
- Open a touch-enhanced Phone or Tablet form.
- In the properties panel of the form, click the Initialization and events tab.
-
Click for
Action menus.
The New action menu dialog box is displayed.
- Enter a Name for the menu.
- To allow the menu to close when you tap outside of the menu, select Hide on tap. (Default: Clear)
- Specify the Menu item height. (Default: 25 pixels; Maximum: 100 pixels)
-
To configure the menu items, click
for
Menu items and do the following:
- Enter a Name for the menu item.
-
Use the following table as a guide to select a
Style from the list:
Style Display Normal Gray button
Back Back button
Forward Forward button
Round Round button
Action Dark Blue button
Decline Red button
Confirm Green button
-
To associate a confirmation message with the menu item, select
Confirmation message, and select the form control or form/global variable
to associate or click
to enter the text.
At runtime, on clicking the button, the confirmation text appears. You can choose to perform the action associated with the button or decline.
-
To select the actions to add to the menu items group, click
Add for
Actions.
The Add form action dialog box is displayed.
-
Select the actions to add.
To add all actions, click Add all. To remove a selected action, click for the action. To remove all selected actions, click Remove all.
-
Click
Done.
The selected actions appear in the Actions box under Menu items.
Use to change the order of actions.
-
Click
Add.
The item is listed under Menu items in the New action menu dialog box.
- Click Add.