Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

WindowState – PB Docs 2021 – PowerBuilder Library

WindowState – PB Docs 2021

WindowState

property for PowerScript controls

Applies to

Windows

Description

The WindowState property specifies how the window is first
displayed. The state can be:

  • Maximized

    Enlarge the window to its maximum size.

  • Minimized

    Shrink the window to an icon.

  • Normal (Default)

    Display the window as it is defined in the painter.

Usage

In a painter

To set the window state:

  • Select the desired state from the WindowState drop-down list on
    the Position tab page of the window’s Properties view.

In scripts

You cannot specify the initial state of the window before it has
been opened. You can change its display state afterwards while the window
is open.

The WindowState property takes a value of the WindowState enumerated
datatype. The following line sets the Maximized state for the current
window:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x