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, select the Initialization and events tab.
-
Select 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, select
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 select
to enter the text.
At runtime, a confirmation text appears when the button is clicked. You can choose to perform the action associated with the button or decline.
-
To select the actions to add to the menu items group, select
Add for
Actions.
The Add form action dialog box is displayed.
-
Select the actions to add.
To add all actions, select Add all. To remove a selected action, select for the action. To remove all selected actions, select Remove all.
-
Select
Done.
The selected actions appear in the Actions box under Menu items.
Use to change the order of actions.
-
Select
Add.
The item is listed under Menu items in the New action menu dialog box.
- Select Add.