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