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

Change the size of the main window – PB Docs 2021 – PowerBuilder Library

Change the size of the main window – PB Docs 2021

Change
the size of the main window

Where you are

Create a new
workspace

Create a
target

Specify an icon for
the application

> Change the size
of the main window

Run the
application

Now you change the size of the application’s main window. When you
run the application, the main window displays in the position and size
that you specify.

  1. Double-click w_pbtutor_frame in the System Tree.

    The Window painter opens the application’s frame window.

  2. Check the Center check box on the General page in the Properties
    view.

    Now when you run the application, the frame window will be
    centered.

  3. Scroll down and select normal! in the WindowState drop-down list
    box.

    vwprop1.gif

    If your Properties view looks different

    You can change the position of Properties view labels by
    right-clicking the Properties view and selecting a preference from
    the pop-up menu. You can position the labels either to the left of
    all fields, or on top of the text fields and to the right of the
    check boxes.

  4. Click the Other tab in the Properties view.

  5. Type 3000 in the Width text box and 2400 in the Height text
    box.

    The size of the window rectangle in the Layout view changes. The
    values you type are in PowerBuilder Units (PBUs).

  6. Press the Tab key.

    othertab.gif
  7. Select File>Close from the PowerBuilder menu.

    Click Yes when you are prompted to save your changes.

    The Window painter closes.

Next you run the application. When you run the application, the
frame window will be centered and sized as you specified.


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