MaxBox – PB Docs 126

MaxBox property for PowerScript controls


DataWindow controls, Windows


The MaxBox property specifies whether a Maximize box is displayed
on the control’s title bar.


In a painter

proc.png To display a Maximize box on a DataWindow control:

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

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

proc.png To display a Maximize box in a window:

  1. 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:

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x