Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot cancel new window (_webview.ocx)
Message
From
08/07/2001 16:52:57
 
 
To
08/07/2001 16:14:44
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00527933
Message ID:
00527943
Views:
19
Sounds like:

This.Cancel = .T.
RETURN

...might work.

Good luck


>According to the documentation, it should be possible to cancel a new window (opened as a result of a right-click, "Open in new window" command) by returning Cancel = .t. from the NewWindow2 event. As this feature works in VB, I'm assuming my syntax must be the problem because no matter how I try, I can't return cancel. I tried altering the class (inserting Cancel = .t. before the "return this.newwindow(@cancel)" statement. I also tried every variation of return in the NewWindow2 event for the class dropped on the form. Can someone tell me what I'm doing wrong, please. TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform