thisform.oEv = CREATEOBJECT("myHTMLDocumentEvents") loNodes = thisform.olecontrol1.Document.getElementsByTagName("A") && Get links FOR EACH loNode IN loNodes EVENTHANDLER(loNode,thisform.oEv) && Bind the onclick event for the link ENDFORNow I'm trying to unbind the events with the following code:
loNodes = thisform.olecontrol1.Document.getElementsByTagName("A") FOR EACH loNode IN loNodes EVENTHANDLER(loNode,thisform.oEv, .T.) && unbind the onclick event for the link ENDFORIt seemed straight forward, but unfortunately the unbinding part never happens and the result always returns .F.