Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > ApplicationObjectEvents Object : OnPCDMessageBoxOpen Event
An expression that evaluates to a PCDMessageBox object to determine the property sheet for which this event should wait.
OnPCDMessageBoxOpen Event
Description

This event gets launched when a generic message box opens.

Syntax
Visual Basic
Public Event OnPCDMessageBoxOpen( _
   ByVal PCDMessageBox As PCDMessageBox _
)
Parameters
PCDMessageBox
An expression that evaluates to a PCDMessageBox object to determine the property sheet for which this event should wait.
Remarks
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.
See Also