Defining the window’s properties – PB Docs 2017

Defining the window’s properties

Every window and control has a style that determines how it
appears to the user. You define a window’s style by choosing settings
in the Window painter’s Properties view. A window’s style encompasses
its:

  • Type

  • Basic appearance

  • Initial position on the screen

  • Icon when minimized

  • Pointer

About defining a window’s style

When you define a window’s style in the Window painter, you
are actually assigning values to the properties for the window. You
can programmatically change a window’s style during execution by
setting its properties in scripts. For a complete list of window
properties, see the section called “Window control” in Objects and Controls.

To specify window properties

  1. Click the window’s background to display the window’s
    properties in the Properties view.

    Another way to display window properties

    You can also select the window name in the Control List
    view.

  2. Choose the tab appropriate to the property you want to
    specify:

    To specify the window’s

    Choose this tab

    Name, type, state, color, and whether a menu
    is associated with it

    General

    Icon to represent the window when you
    minimize it

    General

    Transparency

    General

    Opening and closing animation
    styles

    General

    Position and size when it displays at
    runtime

    Other

    Default cursor whenever the mouse moves over
    the window

    Other

    Horizontal and vertical scroll bar
    placement

    Scroll

    Toolbar placement

    Toolbar


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