Saving Form Size and Location

R

Roger Sipson

To accomodate users with different screen resolutions I would like them to
be able to size and place a form, click Save, and have that become the
default.

This works fine for my mdb but when I create the mde version the Save button
is disabled. Of course I would prefer to distribute the mde so that I don't
have to keep the end user's library up to date etc.

Is there any way to allow users to save form placement with an mde???

Roger Sipson
 
A

Adrian Jansen

You will have to save and recover the form placement data from either a
table within your database ( but on the users machine ), or hold the info in
the registry for that machine. If you want to do this for many forms,
probably a local table is better.

Either way you will need some code in the form open event to read the data
and set the form size and placement, and similar code in the form close
event ( or a Save button ) to write the current data back.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

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