Form Resizing

G

Guest

Hello
I am using the ADHResize2K tool, obtained from one of the MVPS websites,
which automatically scales and resizes large forms designed at high
resolutions so that they fit the size and resolution of the screen on which
the application is being run. It is easy to implement, and works beautifully.
My problem is that my App is being used on a number of machines at different
resolutions, and this means that whenever I roll out a new version of the
Front End I have to set all the screen co-ordinates in the code, individually
for each machine. Could someone who is familiar with this tool tell me if it
is possible to automate this procedure so that the form in question obtains
its co-ordinates and passes them to ADHResize2K somehow?
Many thanks
 
P

Paul

Hi,

I have a demo of a resizing tool on my website which for sometime I have
been meaning to 'productionize'.

I'd like someone to test incorporating it into their own applications (for
comments on ease-of-use - the code is stable, I've been using it for years
with minor enhancments now and again) so please take a look and if you want
to try out the full version (in return for you comments) let me know.

It is different to other resize tools that I've seen in that it does not
change the font size. I've always considered the 'zooming' approach to be
wrong as it does not take advantage of the extra screen real-estate some
people have invested in (I recently forked out for a 20" 1600x1200 LCD so I
don't want to magnify an 800x600 image - I want to be able to see more
rows/have text boxes with more data visible in them).

With my system (which comprises a class and a couple of lines of code on
each form) you just enter into the tag property of each control how you want
it to grow when the form is resized. MoveX1 means the control will move
(say) 1 cm to the right when you drag the form 1cm wider. GrowY0.5 causes
the control to increase in height 0.5cm if you drag the form 1cm taller. You
can mix these so a control can have (for example) the properties MoveX0.5,
GrowX0.5 Move Y0.5 Grow Y0.25.

You do not have to enter ANY information about the size of the screen or the
target resolution (just design the screen to fit the smallest resoultion
your system is likely to be used on). As you enter the move/grow factor
yourself, you have great control over the resizing for the controls (so you
can just leave a date field that is already wide enough to show the date,
but increase the size of a notes box where more space is useful). This
system also works fine with the maximise button and with subforms.

If you're interested check it out on my website (see below) and contact me
via the website.
 

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