Xbasic

{XSIZE}

Syntax

{XSIZE= Characters }

Arguments

Characters

Character. The number of characters to use as the default width of columns. Unless otherwise specified, this spacing will be based on the default font, which is Arial, 8 point.

Description

The {XSIZE} command changes the default horizontal spacing between controls.

Example

The following example centers 15 character wide buttons on 25 character wide columns.

ui_dlg_box("Xdialog Sample", <<%dlg%
{lf};
{xsize=25}{justify=center}
<15,2OK>|<15,2Cancel>;
%dlg%,<<%code%
if a_dlg_button = "Cancel" then
    a_dlg_button = ""
end if
%code%)
images/Xsize.gif

Limitations

Desktop applications only

See Also