Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make the new web page in my defined window?
Message
 
 
To
04/09/2002 03:28:40
Lu Ping
Zhuhai Tec Co.
Zhuhai, China
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00696513
Message ID:
00697855
Views:
11
From my testing setting cancel = .t. in the NewWindow2 event does not work as described in the documentation. Setting cancel = .t. inside the BeforeNavigate2() event does work, but this prevents all hyperlinks from working.

This does seem to work for me though

ppdisp = this

it will prevent the launch of a new window. Though it also doesn't cause the navigation to occur in the IE instance itself.

>I build a form that consist of web browser control , and i want new page show in my defined window
>when the user rightclick the hyperlinker and select new in the window.
>
>I have modified the event "newwindow2" of web browser control .
>
>LPARAMETERS ppdisp, cancel
>CANCEL = .T.
>
>but it do not work ,and how can I know the url when the user show the page in the new window?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform