Dialog_Box (OI 9.x) function

This function is used to create a modal dialog box. It processes an event loop, as long as the dialog box exists, then returns any result to the calling procedure.

return value = Dialog_Box(dialogID, parentID, initparam)

The Dialog_Box function has the following parameters.

ParameterDescription
DialogIDThe name of the form to open as a dialog box.
ParentIDIf valid, the new dialog box is owned by the specified parent. If parentID is null or invalid, Dialog_Box() returns without opening the form.
InitparamThis parameter is passed into the CREATE event of the form.

A window created using the Dialog_Box function should be closed using the End_Dialog function.

Parent = @window

returnValues = Dialog_Box("APP_LOGIN", Parent, @username)
  • guides/programming/programmers_reference_manual/dialog_box_oi_9.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1