Class: LM_PopupDialog

Parent class: LM_BaseWidget

The LM_PopupDialog class creates a popup dialog widget on the screen. Clicking on this object will bring up the actual dialog. To create a new popup dialog widget, you would use the following function:


LM_PopupDialog LM.GUI.PopupDialog(label, lockOpen, msg)

Creates a new LM_PopupDialog object that can then be added to a dialog or toolbar.

Return value (LM_PopupDialog): the newly-created popup dialog label (string): the text to appear on the popup dialog lockOpen (bool): If true, the dialog will stay open continuously. If false, the dialog will close when the user clicks on somethign else. msg (int): the message to be sent when the user clicks to open the dialog

Member Functions


void SetDialog(dialog)

By itself, a popup dialog does nothing. Use this function to attach a dialog to the widget so that when the user clicks on it, the dialog appears.

Return value: none dialog (LM_SimpleDialog): the dialog object to display when the user clicks on the popup dialog
LM_SimpleDialog Dialog()

Returns the dialog object attached to the popup dialog.

Return value (LM_SimpleDialog): the dialog object attached to the popup dialog