Xbasic

{UNITS}

Syntax

{UNITS= Unit }

Arguments

Unit

Character. There are five allowed values: "D" = default (Arial, 8 point) "P" = pixels "I" = inches "C" = centimeters "F" = use current font for line and character spacing

Description

Defines the units of measure. The default is inches.

Discussion 

The {UNITS} command specifies the unit of measurement to be used when sizing Xdialog controls.

var1 = "this is a test"
ui_dlg_box("",<<%dlg%
{units=F}
{font=arial,20}
{text=50,2:var1};

Limitations

Desktop applications only

See Also