|easydlg(caption, buttons, message)|
|easydlg(caption, buttons, message, layout)|
|easydlg(caption, buttons, message, layout, connection)|
easydlgfunction is a general purpose routine for simplifying the construction of graphical user interface applications in O-Matrix. Normally, the programmer must determine the size and position of the controls of a dialog. When using
easydlg, the geometry. of the dialog and the position and size of controls within the dialog are computed automatically. In addition,
easydlgautomates the definition and use of call backs .
easydlgare always modal. When your application displays a modal dialog box, the you cannot switch between the dialog box and another window that has been displayed by O-Matrix. The you must explicitly end the dialog box by clicking one of the buttons defined in the buttons argument to
easydlgwhen the user selects one of the buttons specified by buttons, a function whose name corresponds to caption is called and the dialog is dismissed.