JM> SR> Does any else have problems deploying apps on machines with different
> SR> screen resolutions?
JM> SR> Does anyone have any points to ponder in this regard?
JM>Don't get me started!!! :-) This is one of my biggest gripes
>with Windows.
JM>First off, I got a complaint from a friend the other day about a
>program that I sent to him. He said that it was too small on
>the screen. I developed it on a 15" monitor and he has a 17"
>monitor.
You can get the window and component sizes back to their original
proportions by comparing the runtime screen width & height with those
you designed it under:
form.width:= round(form.width * (Screen.Width / DesignWidth));
form.height:= round(form.height * (Screen.Runheight / Designheight));
or you can scale the form by setting PixesPerInch to the "design"
value OnFormCreate, BUT, fonts are another matter. The font size needs
to be scaled to fit the new form size, and positions need to be
adjusted so they all fit. I've been playing with this but have had
only partial success. I have ordered a component called tSizer which
is supposed to fix everything. I'll let you know how it works.
JM>Windows is a terribly-designed system that is based on pixels
>rather than characters or screen area. There are at least five
>different resolutions so there is no practical way the
>programmer can design the screens for various resolutions at
>which the program may be running. One of the worst implications
>is that the user often has to scroll horizontally to see
>everything. This is obviously a horrible design.
No, Jud, Windows is designed to make money for M$. I think it has done
a great job... ;)
--- PCBoard (R) v15.3/M 5
---------------
* Origin: Riverdale, Ga (1:133/9024)
|