Xbasic

{WRAP}

IN THIS PAGE

Syntax

{WRAP= Width }

Arguments

{wrap= }

Character. The leading {wrap= and trailing } characters are required.

Width

Numeric. An integer value for the maximum length of the line.

Description

Sets the word wrap width.

You must not have any space characters in the finished command.

Discussion 

One or more {wrap=Width} statements may appear inside the Format section of a UI_DLG_BOX() function.

Example 

The following code shows word wrap at two different levels.

ui_dlg_box("Disclaimer",<<%dlg%
;
{wrap=40}
Alpha Anywhere contains a powerful programming language called Xbasic.;
;
{wrap=20}
Xdialog is an extension of Xbasic that allows you to create dialog boxes.;
;
<&Agree>  <&Disagree>
%dlg%)
images/Wrap_text_syntax.gif

Limitations

Desktop applications only

See Also