Resize – PB Docs 2018

Resize

PowerScript event

Description

Occurs when the user or a script opens or resizes the client area of
a window or DataWindow control.

Event ID

Event ID

Objects

pbm_dwnresize

DataWindow

pbm_size

Window

Arguments

Argument

Description

sizetype

UnsignedLong by value. The values
are:

  • 0 — (SIZE_RESTORED) The window or DataWindow has been
    resized, but it was not minimized or maximized. The user
    might have dragged the borders or a script might have called
    the Resize function.

  • 1 — (SIZE_MINIMIZED) The window or DataWindow has
    been minimized.

  • 2 — (SIZE_MAXIMIZED) The window or DataWindow has
    been maximized.

  • 3 — (SIZE_MAXSHOW) This window is a pop-up window and
    some other window in the application has been restored to
    its former size (does not apply to DataWindow
    controls).

  • 4 — (SIZE_MAXHIDE) This window is a pop-up window and
    some other window in the application has been maximized
    (does not apply to DataWindow controls).

newwidth

Integer by value (the width of the client area of a
window or DataWindow control in PowerBuilder
units).

newheight

Integer by value (the height of the client area of a
window or DataWindow control in PowerBuilder
units).

Return Values

Long.

Return code choices (specify in a RETURN statement):

0 — Continue processing


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