ResizeChangePosAndSize

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber ResizeChangePosAndSize( SalNumber nDiffX,
		        SalNumber nDiffY,
		        SalNumber nDiffWidth,
		        SalNumber nDiffHeight,
		        SalBoolean bRepaint )

The ResizeChangePosAndSize method moves and resizes an object.

Parameters

Name Description
SalNumber nDiffX Number of pixels to move the horizontal position of object. Specify negative values to move left, positive values to move right.
SalNumber nDiffY Number of pixels to move the vertical position of object. Specify negative values to move up, positive values to move down.
SalNumber nDiffWidth Number of pixels to change the width of object. Specify negative values to decrease, positive to increase.
SalNumber nDiffHeight Number of pixels to change the height of object. Specify negative values to decrease, positive to increase.
SalBoolean bRepaint Specify TRUE to move/size the object immediately and repaint the window. If FALSE is specified, the move and repaint will take place the next time the window is resized.

Returns

This method does not return a value.