AppDisconnect event
This event occurs when an external automation object calls the Application.Disconnect() function.
Syntax
Public Function AppDisconnect(Client As Object) As Long
Client contains the object reference ( IDispatch) of the client that is trying to disconnect from ReadSoft Invoices.
evtOK |
Disconnection accepted. |
evtOKAbort |
Disconnection not accepted. |
evtError |
Disconnection not accepted. |
This event could be used for supervision applications or to close a ReadSoft Invoices module. The CloseApp method can be used in an internal handler for this event.
Related topic