Saving Form Size and Location

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