Topics

04 Documentation updates
Designer
NotesUIWorkspace class DialogBox method autoFit parameters

Clarified the autoHorzFit and autoVertFit parameters with respect to the layout region.

DialogBox method
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]]]]]]]]]] )

Parameters
form$


autoHorzFit
autoVertFit
noCancel
noNewFields
noFieldUpdate
readOnly
title$
notesDocument
sizeToTable

Note This parameter is new with Release 5.


noOkCancel

Note This parameter is new with Release 5.


Return value
flag
Usage
autoHorzFit and autoVertFit allow you to display an entire layout region in a dialog box, without displaying the rest of the form. If there is more than one layout region on a form, only the first one is displayed. For best results:
Sharing of field values
This method displays the current or specified document using a different form. This means: