Skip to main content
Version: Next

OBJECT SET RESIZING OPTIONS

OBJECT SET RESIZING OPTIONS ( {* ;} object ; horizontal ; vertical )

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)If omitted, object is a variable
objectanyObject Name (if * is specified) or Variable (if * is omitted)
horizontalIntegerHorizontal resizing option
verticalIntegerVertical resizing option

Description

The OBJECT SET RESIZING OPTIONS command sets or dynamically modifies the resizing options for the object(s) designated by the object and * parameters for the current process. These options specify how the object is displayed when the form window is resized.

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string.

In the horizontal parameter, you pass a value indicating the horizontal resizing option that you want to specify for the object. You can pass one of the following constants, found in the Form Objects (Properties) theme:

ConstantTypeValueComment
Resize horizontal growInteger1If the window grows by 50% in width, the object is expanded by 50% to the right.
Resize horizontal moveInteger2If the window grows by 100 pixels in width, the object is moved 100 pixels to the right.
Resize horizontal noneInteger0If the window is expanded in width, neither the width nor the position of the object changes.

In the vertical parameter, you pass a value indicating the vertical resizing option that you want to specify for the object. You can pass one of the following constants, found in the Form Objects (Properties) theme:

ConstantTypeValueComment
Resize vertical growInteger1If the window grows by 50% in height, the object is lengthened by 50% towards the bottom.
Resize vertical moveInteger2If the window grows by 100 pixels in height, the object is moved 100 pixels towards the bottom.
Resize vertical noneInteger0If the window is expanded in height, neither the height nor the position of the object changes.

See also

OBJECT GET RESIZING OPTIONS

Properties

Command number1175
Thread safe