General information
Category:
ActiveX controls in VFP
Title:
Cannot cancel new window (_webview.ocx)
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only