By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,918 Members | 1,852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,918 IT Pros & Developers. It's quick & easy.

form sizing

P: n/a
what's the best way to get a form to always open at a specific size. i've
sized and saved the forms, changed the borders and had popup on and off all
over but can't seem to get it to stay one way permanently. here's what i
basically have now:

1 form with 5 buttons to launch other forms. this launcher form will go .
visible=false and .visible=true when the other forms open and close. it is
not editable in any way, popup=no, modal=no, autoresize=no, autocenter=yes,
and border=thin.

all the other 5 forms have exactly the same settings.

i just want to keep them nice and neat looking but when they're maximized,
it's quite absurd looking to see 6 or 8 labels and controls in the upperleft
corner of the screen and nothing else anywhere. any thoughts?

--
Message posted via http://www.accessmonster.com
Dec 2 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"ka******@comcast.net wrote
what's the best way to get a form to always open at a specific size. i've sized and saved the forms, changed the borders and had popup on and off all over but can't seem to get it to stay one way permanently. here's what i
basically have now:

1 form with 5 buttons to launch other forms. this launcher form will go .. visible=false and .visible=true when the other forms open and close. it is not editable in any way, popup=no, modal=no, autoresize=no, autocenter=yes, and border=thin.

all the other 5 forms have exactly the same settings.

i just want to keep them nice and neat looking but when they're maximized, it's quite absurd looking to see 6 or 8 labels and controls in the upperleft corner of the screen and nothing else anywhere. any thoughts?


My suggestion is to follow the "Windows Way" and let the user have control
of their own desktop. There are various approaches to resizing the content
of a Form, but I have never actually met anyone who wanted the labels in a
small form that was maximized to be in 288-point type, centered, so that the
contents filled the larger view.

If the user, for reasons of his/her own, wants to maximize and have all the
controls in the upper left hand corner, then that is the user's choice, not
yours or mine. If they do not, then they don't have to click the maximize
button.

If you feel _compelled_ to irritate the users of your database application,
you can Maximize the Form in the Open Event, but I caution there are many
like me who'd have to see vast and great benefits to keep using an
application which maximized every form.

Larry Linson
Microsoft Access MVP
Dec 3 '05 #2

P: n/a
i don't want to MAKE it be maximized. i actually would much rather it be a
small little form about 4 inches across by 6 inches high. most of my forms
are about this size. if they want to maximize it, they can. i didn't take
those controls away. i just cant' get the forms to start off at the size
that i meant for them. and then occasionally one will go all long on me. it
will go from a 4x6 to 4x15 or something and the bottom of the form where
there are a couple of command buttons, will be off-screen even if the top
edge of the form is moved to the very top of the screen. i thought since
this was my first db, that i didn't have some property set right or something.
am i making more sense now?

Larry Linson wrote:
what's the best way to get a form to always open at a specific size.

i've
sized and saved the forms, changed the borders and had popup on and off

all
over but can't seem to get it to stay one way permanently. here's what i
basically have now:

1 form with 5 buttons to launch other forms. this launcher form will go

.
visible=false and .visible=true when the other forms open and close. it

is
not editable in any way, popup=no, modal=no, autoresize=no,

autocenter=yes,
and border=thin.

all the other 5 forms have exactly the same settings.

i just want to keep them nice and neat looking but when they're

maximized,
it's quite absurd looking to see 6 or 8 labels and controls in the

upperleft
corner of the screen and nothing else anywhere. any thoughts?


My suggestion is to follow the "Windows Way" and let the user have control
of their own desktop. There are various approaches to resizing the content
of a Form, but I have never actually met anyone who wanted the labels in a
small form that was maximized to be in 288-point type, centered, so that the
contents filled the larger view.

If the user, for reasons of his/her own, wants to maximize and have all the
controls in the upper left hand corner, then that is the user's choice, not
yours or mine. If they do not, then they don't have to click the maximize
button.

If you feel _compelled_ to irritate the users of your database application,
you can Maximize the Form in the Open Event, but I caution there are many
like me who'd have to see vast and great benefits to keep using an
application which maximized every form.

Larry Linson
Microsoft Access MVP


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200512/1
Dec 3 '05 #3

P: n/a
Do a MoveSize in the form load event

e.g.

Private Sub Form_Load()
Me.SetFocus
DoCmd.MoveSize 1000, 200, 6000, 4000
End Sub

or
Private Sub Form_Load()
With DoCmd
.SelectObject acForm, Me.Name, False
.MoveSize 1000, 200, 6000, 4000
End With
End Sub
--
Terry Kreft

"ka******@comcast.net via AccessMonster.com" <u15580@uwe> wrote in message
news:5840fb852cda9@uwe...
what's the best way to get a form to always open at a specific size. i've
sized and saved the forms, changed the borders and had popup on and off
all
over but can't seem to get it to stay one way permanently. here's what i
basically have now:

1 form with 5 buttons to launch other forms. this launcher form will go .
visible=false and .visible=true when the other forms open and close. it
is
not editable in any way, popup=no, modal=no, autoresize=no,
autocenter=yes,
and border=thin.

all the other 5 forms have exactly the same settings.

i just want to keep them nice and neat looking but when they're maximized,
it's quite absurd looking to see 6 or 8 labels and controls in the
upperleft
corner of the screen and nothing else anywhere. any thoughts?

--
Message posted via http://www.accessmonster.com

Dec 3 '05 #4

P: n/a
Br
ka******@comcast.net via AccessMonster.com wrote:
i don't want to MAKE it be maximized. i actually would much rather
it be a small little form about 4 inches across by 6 inches high.
most of my forms are about this size. if they want to maximize it,
they can. i didn't take those controls away. i just cant' get the
forms to start off at the size that i meant for them. and then
occasionally one will go all long on me. it will go from a 4x6 to
4x15 or something and the bottom of the form where there are a couple
of command buttons, will be off-screen even if the top edge of the
form is moved to the very top of the screen. i thought since this
was my first db, that i didn't have some property set right or
something. am i making more sense now?

Larry Linson wrote:
what's the best way to get a form to always open at a specific size.

i've
sized and saved the forms, changed the borders and had popup on and
off all over but can't seem to get it to stay one way permanently.
here's what i basically have now:

1 form with 5 buttons to launch other forms. this launcher form
will go

.
visible=false and .visible=true when the other forms open and
close. it is not editable in any way, popup=no, modal=no,
autoresize=no, autocenter=yes, and border=thin.

all the other 5 forms have exactly the same settings.

i just want to keep them nice and neat looking but when they're

maximized,
it's quite absurd looking to see 6 or 8 labels and controls in the
upperleft corner of the screen and nothing else anywhere. any
thoughts?


My suggestion is to follow the "Windows Way" and let the user have
control of their own desktop. There are various approaches to
resizing the content of a Form, but I have never actually met anyone
who wanted the labels in a small form that was maximized to be in
288-point type, centered, so that the contents filled the larger
view.

If the user, for reasons of his/her own, wants to maximize and have
all the controls in the upper left hand corner, then that is the
user's choice, not yours or mine. If they do not, then they don't
have to click the maximize button.

If you feel _compelled_ to irritate the users of your database
application, you can Maximize the Form in the Open Event, but I
caution there are many like me who'd have to see vast and great
benefits to keep using an application which maximized every form.

Larry Linson
Microsoft Access MVP


Open the form in design view and then switch to form view. Restore the
form if maximised. Resize to the size you want and press Ctrl-S to save
the size (I find this good for continuous forms where I want a certain
number of line items to appear).

Otherwise set the form to automatically resize.

I lso have some code (Someone else's code modified) to resize a form
proportionately depending on the user's screen resolution but I didn't
think that was what you were wanting.....
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Dec 5 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.