Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to add the web browser object to _SCREEN?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00259897
Message ID:
00259903
Views:
14
Hi Eric,

it might be possible, but adding containers to _SCREEN does cause all kind of troubles, especially in VFP 6. Instead you should define a form containing everything you need, remove the border and set TitleBar to 0. With AlwaysOnBottom = .T., the form looks just like a container on _SCREEN, but it behaves properly.

Christof


>I am trying to put a web viewer object on the vfp6 screen.
>I tried the following:
>1) I created a container class with the MicrosoftWebnavigator ocx as an olecontrol
>2) In my startup code, I added the following lines:
>_SCREEN.Addobject("blabla","name")
>_SCREEN.blabla.web.navigate("web.page")
>
>After the addobject, vfp6 gives me the message "Object class is invalid for this container"
>
>?any clue
>THanks
>Eric.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform