Purpose
Part of a Dialog statement; adds a document window control to a dialog box which can be re-parented for integrated mapping.
Syntax
Control DocumentWindow
[ Position x, y ]
[ Width w ] [ Height h ]
[ ID control_ID ]
[ Disable ] [ Hide ]
x, y specifies the control's position in dialog box units.
w specifies the width of the control in dialog units; default width is 100.
h specifies the height of the control in dialog units; default height is 100.
control_ID is an integer; cannot be the same as the ID of another control in the dialog box.
Disable grays out the control initially.
Hide initially hides the control.
Note: This clause works only in the 32-bit versions of
MapInfo Pro.
Description
If a Dialog statement includes a Control DocumentWindow clause, the dialog box includes a document window control that can be re-parented using the Set Next Document statement.