[AccessD] Change resolution of forms

Andy Lacey andy at minstersystems.co.uk
Thu Nov 13 08:44:46 CST 2003


Rocky
I had something similar occur and I adapted the ADH code to do the resizing
of evey control, then passed through the forms collection, calling it to do
each form then saving it. I've been looking for the code and can't seem to
find it, but essentially that's what it did:
-loop through the forms collection
	-open each form
	-apply the resizing
	-save and close the form

I had to fiddle with the resizing ratios but once I got it working on one
form it did the trick.

Andy Lacey
http://www.minstersystems.co.uk 




> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com 
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of 
> Rocky Smolin - Beach Access Software
> Sent: 13 November 2003 13:20
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Change resolution of forms
> 
> 
> It looks like the same functionality as I have now with the 
> ADH resizing code - dynamic control resizing.
> 
> Is there something more to it?  I'd like to get rid of the 
> resizing altogether.
> 
> Rocky
> 
> ----- Original Message ----- 
> From: "Andy Lacey" <andy at minstersystems.co.uk>
> To: "'Access Developers discussion and problem solving'" 
> <accessd at databaseadvisors.com>
> Sent: Thursday, November 13, 2003 1:17 AM
> Subject: RE: [AccessD] Change resolution of forms
> 
> 
> > Rocky
> > Is this any use to you? http://www.peterssoftware.com/ss2.htm
> >
> > Andy Lacey
> > http://www.minstersystems.co.uk
> >
> > > -----Original Message-----
> > > From: accessd-bounces at databaseadvisors.com
> > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky 
> > > Smolin - Beach Access Software
> > > Sent: 13 November 2003 01:15
> > > To: Access Developers discussion and problem solving
> > > Subject: Re: [AccessD] Change resolution of forms
> > >
> > >
> > > I originally created the forms on a machine whose screen 
> res was set 
> > > to 640 x 480.
> > >
> > > But there's got to be a way to escape from this trap without 
> > > re-creating the forms all over on the 600 x 800 machine.
> > >
> > > Rocky
> > >
> > > ----- Original Message -----
> > > From: "John W. Colby" <jcolby at colbyconsulting.com>
> > > To: "Access Developers discussion and problem solving"
> > > <accessd at databaseadvisors.com>
> > > Sent: Wednesday, November 12, 2003 5:03 PM
> > > Subject: RE: [AccessD] Change resolution of forms
> > >
> > >
> > > > Rocky,
> > > >
> > > > The reason this is happening (I think) is that in order to
> > > use the old
> > > > ADH code (I used it myself) you had to design for the smallest 
> > > > resolution,
> > > i.e.
> > > > you manually edited the controls down to that size (or set
> > > it all up
> > > > actually using 640x480).  I know of nothing that will go in
> > > and resize
> > > > everything for you, though there may be tools like that.
> > > >
> > > > John W. Colby
> > > > www.colbyconsulting.com
> > > >
> > > > -----Original Message-----
> > > > From: accessd-bounces at databaseadvisors.com
> > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of
> > > Rocky Smolin
> > > > - Beach Access Software
> > > > Sent: Wednesday, November 12, 2003 4:13 PM
> > > > To: AccessD at databaseadvisors.com
> > > > Subject: [AccessD] Change resolution of forms
> > > >
> > > >
> > > > Dear List:
> > > >
> > > > I have an application which I developed many years ago on a 
> > > > machine with a screen of resolution 640 x 480.  I used the ADH
> > > resizing code
> > > > so the form would fill the screen regardless of the 
> target machine 
> > > > resolution.
> > > >
> > > > I don't use that resizing code in my apps anymore and I
> > > would like to
> > > > abandon that now in this app and go with a straight 800 x
> > > 600 which is
> > > what
> > > > my screen is set to.
> > > >
> > > > But the 640 x 480 resolution seems to be a part of the form 
> > > > somehow and
> > > each
> > > > of the controls as well because if I copy over the 
> controls, they 
> > > > don't
> > > size
> > > > correctly on my 800 x 600 screen.  They appear smaller as
> > > they would
> > > > when you put a 640x480 form or control on an 800 x 600 screen.
> > > >
> > > > Plus any new forms I've added to this app recently original
> > > in 800 x
> > > > 600
> > > and
> > > > that's fine.
> > > >
> > > > Is there a simple way to make these old forms all 800x600?
> > > >
> > > > MTIA,
> > > >
> > > > Rocky Smolin
> > > > Beach Access Software
> > > _______________________________________________
> > > > AccessD mailing list
> > > > AccessD at databaseadvisors.com 
> > > > http://databaseadvisors.com/mailman/listinfo/accessd
> > > > Website: http://www.databaseadvisors.com
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > AccessD mailing list
> > > > AccessD at databaseadvisors.com 
> > > > http://databaseadvisors.com/mailman/listinfo/accessd
> > > > Website: http://www.databaseadvisors.com
> > > >
> > >
> > > _______________________________________________
> > > AccessD mailing list
> > > AccessD at databaseadvisors.com 
> > > http://databaseadvisors.com/mailman/listinfo/accessd
> > > Website: http://www.databaseadvisors.com
> > >
> > >
> >
> >
> > _______________________________________________
> > AccessD mailing list
> > AccessD at databaseadvisors.com 
> > http://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com 
> http://databaseadvisors.com/mailman/listinfo/a> ccessd
> Website: 
> http://www.databaseadvisors.com
> 
> 




More information about the AccessD mailing list