MinBox

Applies to

DataWindow controls, Windows

Description

The MinBox property specifies whether a Minimize box is displayed on the control's title bar.

Usage

In a painter

To display a Minimize box on a DataWindow control:

  1. Select the TitleBar check box on the General page of the control's Properties view.

  2. Select the MinBox check box on the General page.

To display a Minimize box in a window:

  • If the MinBox check box is grayed out, select the TitleBar check box on the General page of the window's Properties view, then select the MinBox check box.

    For certain types of windows, having a title bar is not the default and therefore the MinBox check box can be grayed out until you select the TitleBar check box.

In scripts

The MinBox property takes a boolean value.

The following example specifies that the DataWindow control should have a title bar with a Minimize box:

dw_1.TitleBar = TRUE
dw_1.MinBox = TRUE