>>Hi everybody,
>>
>>I am wondering if anything is missing here.
>>
>>I have a form with the Web Browser control. It has the following code at the top of the Init method:
>>
>>
>>thisform.windowstate = 2
>>thisform.oWeb.top = 0
>>thisform.oWeb.left = 0
>>thisform.oWeb.width = thisform.width
>>thisform.oWeb.height = thisform.height
>>
>>However, when the Web Browser appears, it looks like it's taking only about half of the form (there is a scroll bar in the middle of the form).
>>
>>So, I am wondering if there is something missing.
>>
>>Thanks in advance.
>>
>>-----------------
>>UPDATE. Never mind, moved that code to Resize of the form and added NODEFAULT into Refresh event and all seems to be well.
>
>why not use Anchor?
Good point. I don't know why, but the code also works :)
If it's not broken, fix it until it is.
My Blog