Xbasic

UI_DLG_MOVE Function

Syntax

C UI_DLG_MOVE(C title,N X,N Y)

Arguments

title

The name of the dialog box.

X

The new horizontal coordinate of the dialog box.

Y

The new vertical coordinate of the dialog box.

Description

Move a dialog to a new location.

Discussion

The UI_DLG_MOVE() function moves a modeless dialog to a new position.

Example

This example creates a modeless dialog box, then moves it to a location 3 inches from the top and 3 inches from the left.

ui_modeless_dlg_box("Visible Xdialog", <<%dlg%
<20,3Click Here>
%dlg%)
ui_dlg_move("Visible Xdialog", 3, 3)

Limitations

Desktop applications only.

See Also