openDialogBox

Syntax

<Path>.openDialogBox([AutoSizeColumns:boolean]) → boolean

The method openDialogBox opens the window of the list object designated by <Path> as a dialog in front of all other windows and dialogs.

Make sure that you deactivate the command Inherit Contents/InheritContents before you attempt to enter data.

The method applies to the objects DataStack, DataQueue, DataList, and DataTable.

Note:

To prevent you from accidentally canceling your changes in the dialog, we deactivated the Close button in the title bar of the dialog. You have to decide what is going to happen, when you close the dialog, by clicking OK or Cancel.

Parameter

The optional parameter AutoSizeColumns of data type boolean sets if the column widths are calculated automatically according to the content of the widest Occupied cell for each column (true) or not (false). The default value is false.

Return Value

The return value has the data type boolean.

Example

MyDataTable.openDialogBox
MyDataList.openDialogBox

Related Topics

Open a List as a Dialog Window in the Foreground

Open Object

openDialog

refillDialog