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

Aligning controls using the grid – PB Docs 2021 – PowerBuilder Library

Aligning controls using the grid – PB Docs 2021

Aligning controls using the grid

The Window painter provides a grid to help you align controls at
design time. You can use the grid options to:

  • Make controls snap to a grid position when you place them or
    move them in a window

  • Show or hide the grid when the workspace displays

  • Specify the height and width of the grid cells

To use the grid

  1. Choose Design>Options from the menu bar and select the
    General tab.

  2. Do one or more of the following:

    • Select Snap to Grid to align controls with a horizontal
      and vertical grid when you place or move them

    • Select Show Grid to display the grid in the Layout
      view

    • Specify the width of each cell in the grid in pixels in
      the X text box

    • Specify the height of each cell in the grid in pixels in
      the Y text box

Hiding the grid

Window painting is slower when the grid is displayed, so you
might want to display the grid only when necessary.


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