MinBox property for PowerScript controls
Controls
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:
-
Select the TitleBar check box on the General
page of the control’s Properties view. -
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:
1 |
dw_1.TitleBar = TRUE |
1 |
dw_1.MinBox = TRUE |