-----Original Message-----
I have a sybform that opens upon clicking a command
button. one time it will open in the correct size and
another time it will open up in full page size. after the
size of this form changes I also find other forms start
opening in full page size. how do I control these form
sizes. I'm 70 year old legacy guy who hasn't coded since
pl/1 or cobal days so please no code answers just tell me
how to use property settings or macro settings.
thanks
Ok, I will give you a few "pointers"
if you open form "a", and then that form opens form "b". All is well.
However, if you hit the little [] squire thing in upper right to "max" the
form, then the form will max. If you now close this form B, and return to
form A, you will find that formA is maximised. In fact, you will find all
forms maxed.
So, as a general rule, when you maximize one form, all the other forms will
also maximize when you return to them.
However, there is a few things you can do:
Don't max the forms!
In addition, you should also set the forms property sheet while in design
mode:
I would set the forms "auto center" property to yes.
I would set the forms "auto re-size" property to NO
Further, if you actually size the form exactly the way you want, and then
save the form, you can now open the form in design mode, and change the
border style to "thin". This mans that you, or your users will NOT be able
to change the form size (as a general rule..that is how I design my forms
anyway).
So, really, to control this max/min issue. you don't need any code...but you
do have to pay attention to the forms settings.
If you don't want you, or users to min/max the forms, then you can remove
this option in the forms properties setting. Just change the min/max Buttons
setting to "none". If the this "min/max buttons" form setting is none, then
even if a form on top is maxed, when you return to the previous form, it
will NOT be maxed since the min/max buttons setting is gone!
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
(e-mail address removed)
http://www.attcanada.net/~kallal.msn
.