Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser Control
Message
From
03/06/2003 10:42:48
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00795328
Message ID:
00795671
Views:
19
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:
>
>
* Activate
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform