Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Window automtically resizes .... ?


This topic is 4393 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am using FM 12 Adv v 1 (v3 is too buggy)

 

My app, when running in Windows has this characteristic:

 

If the user 'maximizes' the FM window and then maximizes my app window, when the app opens a new window, it causes the app window to shrink to it's "pre maximized" size.

 

Specifically, in debug I can see that it is the New Window ["Reset Setup"; Heigfht: 10; Width 10; Top 3000; Left 3000; Style Document] command.

 

Any ideas?

 

Ron

 

Update:  I figured out that right before the Reset Setup window is opened, I collect $height, $width, $left, and $bottom and then after the Setup window is finished, I go back to the main Membership window and 'resize' it according to the local variables. 

 

There is some 'screen flicker' but I suspect that I can mess around with the elusive 'freeze window' command and get rid of that... Or, is there a better way?

 

Always willing to learn.  Hope this helps someone else..

Posted

This is a very old issue with the Windows platform. You cannot maximize a window in Windows, and then open another window on top of the maximized window. This will cause the maximized window to resize to whatever dimension it was before it was maximized.

 

The solution is to resize to fit and never maximize.

This topic is 4393 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.