MDI form keeps shrinking... :(

mvorous

mvorous
Local time
Yesterday, 17:45
Joined
May 29, 2008
Messages
46
I have a simple form that will inconsistantly shrink to an unusable size. Pop up yes, Modal yes, Auto center yes, autoresize no, fittoscreen yes, border style sizable - "only because the user has to resize it occassionally". The form itself doesn't seem to hold its size consistantly. Plz see enclosed screen shots. Thank you, mvorous:confused:
 

Attachments

  • Capture.JPG
    Capture.JPG
    22.7 KB · Views: 136
  • Capture1.JPG
    Capture1.JPG
    33.4 KB · Views: 133
If you mean yes, I have, didn't seem to help.
thanks though, mvorous
 
I am thinking it is because you have the pop-up and modal set to yes. Notice that if you resize it, you go to design mode, and come back it is back to some other size. In my experience - you have to 'set the size' in design mode.

I would just set the pop-up to no and this way it would remember it's last resizing. Modal will ensure that the form is closed before any other form can be accessed.

-dK
 
I don't remember it off the top of my head... but there is some code on here to set the size of a form. You might do a search and see if you can find it. If not, I'm sure I have it saved someplace...If I remember correctly it actually sets the size in reference to the screen being viewed on.
 

Users who are viewing this thread

Back
Top Bottom