Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot cancel new window (_webview.ocx)
Message
From
08/07/2001 16:14:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Cannot cancel new window (_webview.ocx)
Miscellaneous
Thread ID:
00527933
Message ID:
00527933
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform