Adding buttons next to text boxes

You can add buttons next to text boxes for the menu items that are most frequently used. You can add up to three buttons to a text box.

About this task

You can select existing menus from the menus.xml file, or you can define new menus in the menus.xml file. The menu items must contain the label, event, and image attributes, for example:
label="Select Value" event="selectvalue" image="menu_icon_find.gif

The following restrictions apply when you add buttons next to text boxes and multipart text boxes:

  • Select Value menu items are not displayed if there is no lookup attribute defined for the text box. For example, Select Value menu items are not displayed next to Long description fields.
  • If the button is a link to an application and the user does not have access to the application, the button is not displayed.
  • If the menu item is defined with any conditional expressions, the button is not displayed.

Procedure

  1. In Application Designer, select the field that you want to add buttons to and open the Control Properties window.
  2. Specify the ID of the menu.
  3. Save the application definition.