This event gets launched when a generic dialog box is opened.
The event does not get launched for a Message Box, Execution dialog box or Comment Input dialog box.
Visual Basic |
---|
Public Event OnDialogOpen( _ ByVal Dialog As DmisDialog _ ) |
- Dialog
- An expression that evaluates to a DmisDialog object to determine the dialog box for which this event should wait.
Important: When one of these events is launched, you must test for the IsReady property. However, the application event handler cannot wait until IsReady, because the handler blocks PC-DMIS. If PC-DMIS is blocked, IsReady never becomes True. The solution is to start a separate worker thread that checks IsReady. This allows the event handler to immediately return, allowing PC-DMIS to work.