saving form size/location

T

Toxalot

My form is going to be used on different computers with different
resolutions. I have the form set to be re-sizable and have scroll
bars. But once the user resizes the form to their liking, I'd like it
to stay that size.

I'm using VBA, but am fairly new to it. I was thinking of saving the
form size on close and setting it to that saved size on open. But how
do I get and set the size and location?

Jennifer
 
L

Larry Linson

You could create custom properties for the database and store preferences
there, or you could store the preferences in a table that you use at
Startup. Saving them at Close and recovering them at Open should give the
user flexibility...

Larry Linson
Microsoft Access MVP
 
T

Toxalot

How would I create custom properties for the database?

What code would I use to read the form size and location? I think I
used DoCmd.MoveSize to set it, but I'm not sure how to read the
current settings.

Jennifer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top