sysDisconnect()

The function allows to disconnect from a specific system events previously connect using sysConnect().

Synopsis

int sysDisconnect([class object,] string|function_ptr work, string event]);

Parameters

Parameter Description
object Class in which the work function is located. Only necessary if sysConnect function is called from outside of the class.
work Work function that is called in case of the event being triggered
event Event on which should be connected

Return value

Returns 0, in case of an error -1 is returned.

Errors

missing/incorrect arguments

Description

The function allows to disconnect form an event that has been previously connected to using sysConnect().

Assignment

Miscellaneous functions

Availability

UI, CTRL