Brings up a dialog box that displays the current document (either open or selected in a view) or a specified document using a form you specify. The dialog box shares fields with the underlying document. The user interacts with the dialog box as usual, clicking OK or Cancel when finished.
This function can be used with any form, but it's particularly useful with forms that contain a single layout region or table, because the user can interact with the layout region or table as if it were a dialog box.
Defined in
NotesUIWorkspace
Syntax
flag = notesUIWorkspace.DialogBox( form$ , [autoHorzFit] , [autoVertFit] , [noCancel] , [noNewFields] , [noFieldUpdate] , [readOnly] , [title$] , [notesDocument] , [sizeToTable] , [noOkCancel] , [okCancelAtBottom] )
Parameters
form$
Note This parameter is new with Release 5.
Note This parameter is new with Release 6.
flag
The autoHorzFit and autoVertFit parameters allow you to display an entire layout region (sizeToTable is False) or table (sizeToTable is True) in a dialog box without displaying the rest of the form. If the form has more than one layout region or table, the first is used. For best results:
Sharing of field values
This method displays the current or specified document using a different form. This means:
Language cross-reference
@DialogBox function in formula language
Example See Also