Bungee Logic : Statement : Open Dialog
Page Status: Beta
Back to Bungee Logic Statements
Contents |
[edit] Description
Opens a form in a separate window.
[edit] Syntax
dialog [object] (adapter);
Where:
adapter Is a site designating the form adapter to utilize. object The object to search for the form to display.
[edit] Logic
dialog this (myDialogFormAdapter);
[edit] Error Handling
-None-
[edit] Intrinsics
-None-
[edit] Properties
- Target — A site that designates the object to search for the form to display. If you want to use the current class you must select the this reference which can be found in the class's inheritance tree under Object. If the dialog should open another web page, the target should be a URL string.
- Close Result — A site that designates where to store the dialog result. If the form has an OK button, a value of “OK” indicates that the user selected the OK button. Otherwise, the value is “Cancel”. Useful only for modal dialogs.
- Form Adapter — A site that designates which form to display according to the adapter associated with the form. The Form property takes precedence over Form Adapter if set.
- Text on Null — A site that designates the text to display if the form is not set.
- Form — Specifies the name of the form to display. If there are no forms to select from for this property, then the Target property has not been set correctly to an object with available forms.
- Window Type — Can be Normal, ModelessDialog, or ModalDialog.
- Parent To Main — Specifies whether the dialog will be a parent to the main window.
- Advanced — Allows other settings to be enabled on the dialog for determing the behavior, layout, style, and look and feel.
- Top — With the Left property, this allows you to specify the location of the dialog on screen as a coordinate with the top left hand corner being 0,0. Top is the number of pixels away from the top of the screen.
- Left — With the Top property, this allows you to specify the location of the dialog on screen as a coordinate with the top left hand corner being 0,0. Left is the number of pixels away from the left hand side of the screen.
- Width — This allows you to specify the width of the dialog in pixels.
- Height — This allows you to specify the height of the dialog in pixels.
Tab Title Bar
- Comment Out — Comments out the entire section of code.
- Set Breakpoint — Sets a breakpopint for debugging purposes.