Information générale
Catégorie:
Contrôles ActiveX en VFP
>I have successfully made a functional web browser in VFP8 SP1 using Microsoft's Web Browser control. Now I need to sieze control of any pop up windows, (i.e., force them to never exceed a certain size, not allow more than 1 at a time) but I don't quite understand how to go about this...
Take a look on NewWindow2 web browser event. You can disable the opening of a new window by setting the Cancel parameter to True, and create a new instance of InternetExplorer object with desired window size and pass it back in ppDisp parameter.
Précédent
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