On Thursday 24 October 2002 01:55 pm, Lyall Swain wrote:
> Can anyone point me to articles or information on resizing VFP forms an=
d
> controls according to the screen resolution settings. With the latest
> video cards having bigger screen resolutions, there are users who seem =
to
> think that because they can have 1280 x 1024 resolution, they should.
> Problem is, when they run an app build for 640 x 480, they can hardly s=
ee
> it!
I never understood this. Greater resolution allows you to put more on yo=
ur=20
screen, which necessarily means that each thing is smaller. By scaling t=
he=20
controls you gain nothing.
However, I think there are utilities for scaling your object on the UT.
--=20
Paul McNett - p@ulmcnett.com
Hollister, California, USA
> > Can anyone point me to articles or information on resizing=20
> VFP forms and
> > controls according to the screen resolution settings. With=20
> the latest
> > video cards having bigger screen resolutions, there are=20
> users who seem to
> > think that because they can have 1280 x 1024 resolution,=20
> they should.
> > Problem is, when they run an app build for 640 x 480, they=20
> can hardly see
> > it!
> I never understood this. Greater resolution allows you to=20
> put more on your=20
> screen, which necessarily means that each thing is smaller. =20
> By scaling the=20
> controls you gain nothing.
True, but sometimes certain specific applications are meant to be the =
equivelent of system-modal-- they're the ONLY thing used at the time. =
For this, resizing is nice. There's also the fact that LCD's can't =
usually do less than 800x600, so you really NEED to scale to fit =
those...
> However, I think there are utilities for scaling your object=20
> on the UT.
I use a sizer object in my app that Ed Leafe gave us when he did some =
consulting work. I'm not sure where he got it, or if he wrote it =
himself, or if there's a more recent version out there-- it is VERY =
thorough, going through all the objects, children, etc. Sometimes I wish =
I could just pass in some parameters telling it exactly what it should =
look for to save some CPU time(it can be CPU-intensive if you do it =
often(ie: with dynamically created objects) or have sizeable .Resize() =
events on your objects).
also, did you look at the sysinfo.ocx?
Boudewijn
Lyall Swain wrote:
> Hi All
>
> Can anyone point me to articles or information on resizing VFP forms and
> controls according to the screen resolution settings. With the latest video
> cards having bigger screen resolutions, there are users who seem to think
> that because they can have 1280 x 1024 resolution, they should. Problem is,
> when they run an app build for 640 x 480, they can hardly see it!
>
> Regards
>
> Lyall Swain
> Programming Director
> Synergy Business Systems Ltd
> P O Box 1192
> Invercargill
> New Zealand
> lyall@synergynz.com
>
Hi All
Can anyone point me to articles or information on resizing VFP forms and
controls according to the screen resolution settings. With the latest video
cards having bigger screen resolutions, there are users who seem to think
that because they can have 1280 x 1024 resolution, they should. Problem is,
when they run an app build for 640 x 480, they can hardly see it!
Regards
Lyall Swain
Programming Director
Synergy Business Systems Ltd
P O Box 1192
Invercargill
New Zealand
lyall@synergynz.com
Hi Lyall!
The book 1001 Things You Wanted To Know About Visual FoxPro from
Hentzenwerke www.hentzenwerke.com has a very good description about how
to obtain forms to fill the screen regardless of screen resolution.=20
Roland
-----Ursprungligt meddelande-----
Fr=E5n: profox@leafe.com [mailto:profox@leafe.com] F=F6r Lyall Swain
Skickat: den 24 oktober 2002 22:55
Till: Multiple recipients of ProFox
=C4mne: Resizing forms and controls
Hi All
Can anyone point me to articles or information on resizing VFP forms and
controls according to the screen resolution settings. With the latest
video cards having bigger screen resolutions, there are users who seem
to think that because they can have 1280 x 1024 resolution, they should.
Problem is, when they run an app build for 640 x 480, they can hardly
see it!
Regards
Lyall Swain
Programming Director
Synergy Business Systems Ltd
P O Box 1192
Invercargill
New Zealand
lyall@synergynz.com