Show TOC

Assigning a Dialog Box to a PushbuttonLocate this document in the navigation structure

Prerequisites

You have created and configured the dialog box (see Create Dialog Box and Configuration of Dialog Boxes ). You have also configured all application-specific views (UIBBs) that you have assigned to the dialog box.

Context

You can configure a dialog box such that users can open it at runtime using a pushbutton on the main screen of a Floor Plan Manager application.

Procedure

  1. In the Floor Plan Manager configuration editor, choose the main screen for which you want to create the pushbutton.
  2. Choose Add to Element to Toolbar .
  3. In the Add to Element to Toolbar dialog box, choose the Additional Functions pushbutton from the Application-Specific Function Buttons (Optional) section.

    The system creates a new element in the hierarchy: Pushbutton: Additional Functions under the Toolbar and Other Functions elements. At the same time, this pushbutton appears in the toolbar preview and the attribute view for this element is displayed below the preview.

  4. Enter a name for the pushbutton in the Name field (OTR text).
  5. Enter a description (optional) for the pushbutton in the Description field (OTR text).
  6. Enter a quick info (optional) for the pushbutton in the Quick Info field (OTR text).
    Recommendation

    We recommend that you use OTR aliases for these texts and that you not enter any direct OTR text here. You can use and reuse OTR aliases, which greatly reduces effort when editing due to the fact that you have to make only one change that affects all references.

  7. Enter FPM_OPEN_DIALOG in the FPM Event ID field.
  8. Choose Add Parameter in the Maintain Event Parameters section.
  9. Enter DAILOG_BOX_ID in the Parameter Name field.
  10. In the Parameter Value field, enter the ID of the dialog box that you want this pushbutton to open. For example, if the ID of the dialog box is ZZ_DIALOGBOX_01, then enter ZZ_DIALOGBOX_01 .
  11. Save the configuration.
  12. Test the application.