11.50 stop()

With this function you can stop a dialog. If this has been the last running dialog, the event loop will be exited. If no dialog is specified, the current dialog will be terminated. If only one single dialog is executed, stop() will have the same effect as exit().

Definition

void stop
(
      object  Dialog  input
  { , boolean Destroy := false input }
)

Parameters

object Dialog input
In this parameter the dialog to be stopped has to be specified.
boolean Destroy := false input
If this optional parameter has the value true, the dialog will be deleted after the execution of the finish rules.

See also

Built-in function exit()

C function DM_StopDialog in manual “C Interface - Functions”