11.38 run()

With this function, a dialog can be started.

Definition

void run
(
  object Dialog input
)

Parameters

object Dialog input
In this parameter the dialog to be started is specified.

Example

Loading a dialog and starting the newly loaded dialog.

variable object Dialog := null;

Dialog := load("SearchPath:Test.dlg");
!! checking whether dialog could be loaded
if Dialog <> null then
  !! starting the dialog
  run (Dialog);
endif

See also

Built-in function load()

C function DM_StartDialog in manual “C Interface - Functions”