Xbasic

{STRETCH}

IN THIS PAGE

Syntax

{STRETCH= [ Horizontal ], [ Vertical ]}

Arguments

Horizontal

Character. Optional. The allowed values are: "Left", "Right", and "Width".

Vertical

Character. Optional. The allowed values are: "Top", "Bottom", and "Height".

Description

Allows the dialog box to be stretched.

Discussion

The {STRETCH} command allows the dialog box to be stretched. It requires at least one argument. In the absence of the {STICKTO} command, it will affect control and region placement. When the arguments are Width or Height, the object will be stretched along with the dialog box. The other arguments will cause the dialog to stretch away from the control in the specified direction. When the {STICKTO} command is added, the {STRETCH} command does not affect control or region placement.

Example

ui_dlg_box("Stretch",<<%dlg%
{stretch=height,width}

%dlg% )
images/stretch.gif

See Also