Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing ole object properties
Message
De
22/11/2002 14:49:42
 
 
À
22/11/2002 13:14:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00725895
Message ID:
00725976
Vues:
8
>I have a form with an Internet Explorer control. I want to access the properties of the html document in the ole control.
>I have tried the following to get a property.
> ?thisform.oleHTMLView.GetProperty("Height")
> ?thisform.oleHTMLView.GetProperty("bgcolor")
>and many others. All I get returned is .NULL.
>
>Anyone know the proper syntax for this?
>
>Thanks.

For these two, try :
? thisform.oleHTMLView.Height and 
? thisform.oleHTMLView.Document.bgColor
Look at the MSDN Library's "InternetExplorer Object" topic for help on others. HTH,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform