Resize

Description

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

PowerBuilder event information

Event ID: pbm_dwnresize

Argument

Description

sizetype

UnsignedLong by value.

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

  • 1 -- (SIZE_MINIMIZED) The DataWindow has been minimized.

  • 2 -- (SIZE_MAXIMIZED) The DataWindow has been maximized.

newwidth

Integer by value. The width of the client area of the DataWindow control in pixels.

newheight

Integer by value. The height of the client area of the DataWindow control in pixels.


Return Values

There are no special outcomes for this event. The only code is:

0 -- Continue processing