Information générale
Catégorie:
Contrôles ActiveX en VFP
Hi Don, What my method does that I wanted to point out is that it keeps a "new target" type link from being sent to the big IE, and instead opens the target in the same vfp form, (popups included). This allows me to keep the current web content in my vfp form regardless of what links the user clicks on. Normally, a new target type link automatically opens the big IE to open the page, regardless if my control is registered as browser or not.
My code does open popups, and keeps them in the vfp form. I want this, in case its not a popup but a legitimate web page. I have extra code to prevent popups from poping up over and over like some do and thus crashing the form.
Regards, -Mark
>I believe this will also prevent the new window. I don't know if it will deal with popups in the same manner as your method does.
>
>In NewWindow3 in the first (visible) browser
>
>thisform.xoleweb2.RegiserAsBrowser = .t.
>ppdisp = thisform.xoleweb2.object
>CANCEL = .t.
Précédent
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