saving form size/location

  • Thread starter Thread starter Toxalot
  • Start date Start date
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
 
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
 
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
 
Back
Top