Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement