MaxBox
property for PowerScript controls
Applies to
DataWindow controls, Windows
Description
The MaxBox property specifies whether a Maximize box is displayed on
the control’s title bar.
Usage
In a painter
To display a Maximize box on a DataWindow control:
-
Select the TitleBar check box on the General page of the
control’s Properties view. -
Select the MaxBox check box on the General page.
To display a Maximize box in a window:
-
If the MaxBox check box is grayed out, select the Title Bar
check box on the General page of the window’s Properties view, then
select the MaxBox check box.For certain types of windows, having a title bar is not the
default and therefore the MaxBox check box can be grayed out until you
select the TitleBar check box.
In scripts
The MaxBox property takes a boolean value.
The following example specifies that the DataWindow control should
have a title bar with a Maximize box:
|
1 2 |
dw_1.TitleBar = TRUE dw_1.MaxBox = TRUE |