Close oWnd from code inside HTML

Post Reply
User avatar
Patrick Mast
Posts: 244
Joined: Sat Mar 03, 2007 8:42 pm

Close oWnd from code inside HTML

Post by Patrick Mast »

Hi,

How can I close oWnd from the HTML code that's provided by cMyURL?

Code: Select all

DEFINE WINDOW oWnd
oActiveX:=TActiveX():New( oWnd, "Shell.Explorer" )
oWnd:oClient:=oActiveX
oActiveX:Do( "Navigate2", cMyURL )
ACTIVATE WINDOW oWnd
Thanks

Patrick
Post Reply