DELETE OBJECT |
Remove Windows Object |
DELETE OBJECT com_id[,ERR=stmtref]
Where:
com_id |
Numeric variable to receive a handle (memory pointer to the COM object). |
stmtref |
Program line number or statement label to which to transfer control. |
Use DELETE OBJECT to remove/disconnect associated Windows COM objects (OCX/OLE/ActiveX) from the screen.
For information on the creation of an OCX (Object Component eXtension) object, see DEF OBJECT Define Windows Object.
def object handle,@(2,2,70,16)="Shell.Explorer"
errcode=handle'Navigate2("www.pvxplus.com")
input *
delete object handle