Ole4D Methods

OCRemoveHandler(p_Area;p_Event )


Reset assignment of an Ole object event to a 4D method. This method undoes an OCSetEventHandler call.

Parameters
Parameter Type   Description
p_AreaVar Longint -> Variable of the plug-in area.
p_Event String -> Name of the event to reset.


Return Values
0 – The method call was successful.
If the method call was not successful the return value is non zero. For more information call OCLastError.

Example
$i := OCSetEventHandler(OCONT1,”NodeClick”,”OnNodeClick”)
`do some processing……………………
$i := OCRemoveHandler(OCONT1,”NodeClick”)


See Also
OCSetEventHandler