Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Viewsource in _webview.vcx
Message
De
13/04/2003 19:23:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00776999
Message ID:
00777055
Vues:
12
Hi Sergey,

No wonder I couldn't find the frame.
I expected Frames to be a collection of oWeb, not oWeb.Document
Just so I'm on the same page, the full text of a document in a frame is:
Thisform.oWeb.Document.Frames(0).Document.documentElement.outerHTML
Thanks alot.
oDoc = Thisform.oWeb.Document
>? oDoc.Frames.length    && Returns # of frames in collection
>oFrame = oDoc.Frame(0)    && collection is 0-based
>lcFrameHtml = oFrame.Document.documentElement.outerHTML
>
You can iterate through frame collection to get html for all of them or pick one you need.
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform