David,
thanks for the response, it's pointed me in the right direction. Here is another problem I'm having. The application I am working on is a MDI. When my browser form is maximized the title bar is underneath the menu bar of my application. Is there a setting on the form to make the form display without a titlebar when it's maximized?
Jim
>Jim,
>
>You can turn on event tracking in the debugger to find out what's going on.
>
>In VFP6 if you have maximized the form in the designer by clicking the maximize button, that does not seem to generate a Resize event when the form runs.
>
>Putting
>
>this.WindowState = 2
>
>in the Init() doesn't trigger it either because the screen is not yet visible.
>
>You can put it in the Activate() but you need code to catch first activation only, you can use the Form.Tag or another custom property:
>
>
>if ( this.Tag = "first run" )
> with this
> .WindowState = 2
> .Tag = ""
> endwith
>endif
>
>>My form with the browser is starting out as the maximum size of the screen which should trigger the resize event, Right? I have code in the resize event that resizes the controls, but it's not working. Any idea as to why this would be happening?
Thanks
Jim