Click to See Complete Forum and Search --> : frmMain


John Reynolds
July 3rd, 2001, 10:29 AM
Why does the frmMain fill the WHOLE screen whether the max button is clicked or not? Which property controls this? I want the frame to be approx half the size of the screen. This is the way it was when the ap wizard made it. What have I done to change that?

Thanks for any help.
John

softweng
July 3rd, 2001, 10:35 AM
Make sure the WindowState property of the form is set to "Normal" instead of "Maximized".

Kris
Software Engineer
Phoenix,AZ

John Reynolds
July 3rd, 2001, 11:56 AM
Kris, thanks but it is set to normal. (?)

John

John G Duffy
July 3rd, 2001, 12:40 PM
If its not the Min/max buttons or window state then something is setting the Left,Top, WIdth and Height properties. Check the Form_Load, Form_Activate or Form_Resize events

John G

John Reynolds
July 3rd, 2001, 01:47 PM
John,

YOU ARE THE WINNER! You were exactly correct. Thanks a bunch!

John R.

Captain Nuss
July 3rd, 2001, 04:38 PM
If everyone would make it so worth trying to find the answer as you do, answering would be a lot more fun!!!

----------------
You can contact me directly at Christoph.Schulze@gmx.co.uk
Hey, and... don't forget your parsley cause you can't eat your dog after having stolen him from some animal shelter and having drowned him in the Atlantic Ocean.