How To : Creating Popups

Page Status: Beta

Back to Concepts and HOW TOs

Contents

[edit] Description

This document describes how to add up a popup dialog to your project.

[edit] Prerequisites

Bungee Logic Open Dialog Statement

[edit] Procedure

To add a popup dialog to your project:

  1. Choose a location, usually in a function, where you what to add a popup dialog.
  2. Open the function in the Design Editor.
  3. From the Toolbox, drag an Open Dialog statement into your function.
  4. Set the parameters for the open dialog statement:
    1. Set the Target property to the object containing the form you want to use for this popup.
    2. Set the Form property to the form you want to use for this popup.
      (The drop down box contains the forms that are members of the object you specified on the Target property.)

To set a popup dialog to be an embedded popup:

  1. Select the open dialog statement.
  2. In the Property Editor, for the Advanced property, click the ellipsis button [...].
  3. In the dialog box that's displayed, click the Popup tab.
  4. Select the Embedded Popup property. 

Note Embedded popup is a new feature.

To set DefaultStickyPopup for the dialog:

  1.  After adding open dialog to your function, in the Property Editor, click the ellipsis button next to Advanced.
  2. In the dialog box that's displayed, click the Style tab.
  3. For StyleSheet, change Path in the drop down box to Type.
  4. Click the ellipsis button next toType.
  5. In the dialog box that's displayed, click the Dependencies tab.
  6. Expand SystemStyles and select DefaultStickyPopup.
  7. Click OK.
  8. Close the remaining dialog box.

[edit] Error Handling

 

[edit] Examples

The following image shows the showPerson function opened in the Design Editor, with the open dialog statement selected. In the Property Editor, you can see that the Target property has been set to the person, and person is a member of the PopupDialog class.

The following screen shot has the same configuration as the screen shot above, with Person selected in the Solution Explorer. In the Property Editor,  notice that the Form property has been set to Detail. Detail is a form and a member of the Person class.

[edit] Next Steps

 

[edit] Tags

    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.