Resize a form when the main app window is resized?

M

Max Moor

Hi All,

As the subject says, I want to resize a form when the main access
window is resized. I found some code in the Microsoft Knowledge Base for
FoxPro, to this with the timer, rechecking if the screen has changed, then
doing the resize if so. I can easily addapt this to Access. Before I do, is
there a better way?

Regards,
Max
 
M

Max Moor


Hi Peter,

Thanks for the reply. I hadn't seen that code. I'm actually using the
FormInfo Class module from the Developer's Handbook already, so I'm covered
as far as being able to do the actual resizing and replacement of the various
forms.

What I'm hoping for is an event or something that I can use to know
when the MDI window is resized. I'm currently using the form's timer event
and checking it for changes. Resizing is really shaky unless the Interval is
set fairly low (< 30). I hate polling for changes so often. Maybe that's
just a hold over from past days with 10 MHz CPUs.

Do you know a better way?

Regards,
Max
 

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