Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser Control
Message
 
 
To
02/06/2003 17:25:01
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:
00795445
Views:
15
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform