Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Class Invalid - Web Browser Control
Message
De
17/09/1999 14:11:14
 
 
À
17/09/1999 13:13:16
Jp Steffen
Leadership Data Services
Des Moines, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00266015
Message ID:
00266080
Vues:
21
>I am trying to add a Web Browser control to the main VFP window via a container class using:
>
>_screen.addobject("oHTMLNAV","ldsBrowser")
>
>I get this message when ever I launch the app.
>
>"Object Class Invalid for this container".
>
>My class w/ Browser control works if i drop it on a form but not on the main window - i can drop other containers on the main window and they work fine. And, if I remove the Browser control from the class and replace it with a label, it works fine. Whats up with this?
>
>JP

I believe that you need to add it to a form. Set the form property AlwaysOnBottom = .T.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform