modScaleForm to Scale for different Screen Resolutions

Published 30 January 08 09:04 PM

You can find modScaleForm here on SourceForge.  It is an open source utility for scaling Access forms to fit different display resolutions.  As we've seen in a prior post, anchoring provides this kind of support in 2007 automatically.  If you're using 2003 or previous, this might be pretty helpful though.

Thanks Markus for the pointer!

Comments

# Neil Jordan said on January 31, 2008 4:35 AM:

I have been using modResizeForm from http://jamiessoftware.tk and wondered if anyone had any thoughts about which would be the better option.

# GruberMa said on January 31, 2008 9:41 AM:

Hi Neil!

I have tried ShrinkerStretcher and modResizeForm as solutions for me, but there have been some caveats that prohibited usage of these modules for my project - so I decided to write my own code, modScaleForm.

modScaleForm is highly inspired by modResizeForm, but the code is written "my way" and works with some different approaches on how to do things.

Personally, I think that modScaleForm is a little bit more performant than modResizeForm. The biggest advantage for me is that modScaleForm can automatically get the current screen resolution and scale all controls in a form without having to click a button or so - simply add "ScaleFormWindow Me" to the OnOpen event of your form and "ScaleFormControls Me" to the Resize event of your form. Resizing even works "on the fly" when changing the size of a form programmatically or with the mouse or keyboard.

Have a look at both modules and tell me, what you like about modScaleForm and what should be improved.

You can contact me via SourceForge - http://sourceforge.net/projects/modScaleForm.

Best regards,

Markus Gruber

# Markus Gruber said on January 31, 2008 11:00 AM:

Please excuse if this posting appears two times.

Hi Neil!

modResizeForm was much inspiration for developing modScaleForm, as well as ShrinkerStretcher.

I developed modScaleForm because I wanted a tool that is able to scale all controls in a form in nearly real-time and without having to click a button or so.

Download modScaleForm, add "ScaleFormWindow Me" to the OnOpen event of your form and "ScaleFormControls Me" to the Resize event.

Personally, I think that modScaleForm is a bit more performant than modResizeForm.

Just try both tools and let me know via http://sourceforge.net/projects/modScaleForm what you like and what you want to see improved.

Best regards,

Markus Gruber

# Vladimir Cvajniga said on January 31, 2008 2:48 PM:

Hi,

I'm getting an error in clFormWindow module (on Public Property Get Parent() As clFormWindow) when I try to compile: "User-defined type not defined".

New Comments to this post are disabled

About Zac Woodall

Zac is a Program Manager at Microsoft on the team designing Access’s next generation platform infrastructure. He advocates easy to use designs, organizes community efforts, and is the author of The Rational Guide to Microsoft® Office Access 2007 Templates. Zac has been working at Microsoft Corporation since 1999. Before that time, he attended the University of Idaho, from which he holds a B.S. in Computer Science.
Page view tracker