Sergey,
Check this out. Created a method on the base class container called showit() and am calling it from the init. code in the showit() method:
this.SetFocus()
FOR EACH oControl IN this.Parent.Controls
IF oControl.tabindex = 1
oControl.setfocus()
ENDIF
ENDFOR
Apparently, if this class isn't the first control on the form, it doesn't show up. Seems like a pretty cheesy workaround to me, any ideas?
jfh
>Hi John,
>
>What VFP version are you using? What other code do you have in the container and form?
>
>>Hello,
>>I created a class based on a container. Dropped the Web Browser OLE control on it, added some code to the init to resize the web browser to whatever size the container happens to be. That is all there is to it. If I subclass this and drop it on a form, it does not display. Visibility = .T. Also, if I resize the form, then it displays. Kinda at a loss here, anyone seen anything like this before? Thanks,
>>
>>jfh
>>
>>oh yeah, added the standard NODEFAULT to the refresh of the web browser as well.