Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot cancel new window (_webview.ocx)
Message
De
08/07/2001 16:52:57
 
 
À
08/07/2001 16:14:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00527933
Message ID:
00527943
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform