sysDisconnectUserData()
The function allows to disconnect from a specific system events previously connect using sysConnectUserData().
Synopsis
int sysDisconnectUserData([class object,] string|function_ptr work,
<any> userData, 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 should be disconnected. |
userData | Must be identical to the userData stated when calling the function sysConnectUserData() |
event | Event on which should be disconnected |
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 sysConnectUserData(). The same parameters that have been used to connect to the event must be used to disconnect from the event.
Assignment
Miscellaneous functions
Availability
UI, CTRL