Re: [DUG]: Them screen/component sizing blues...

1999-03-29 Thread Rohit Gupta

As mentioned by Peter Hyde this is a function of large/small 
fonts.  Its actually the pixels per inch property of the screen 
driver - not the card itself.  Just out of interest, one of the 
Borland guys said in the early days of D1 that if you toggle between 
two ppi sizes, yopur components will slowly migrate to top-left.  :-)

For development, we therefore insist that every machine has the same 
video card and driver.

On 26 Mar 99 at 16:34, Simon Mahony wrote:

> Hi team.
> We're developing our new software on 20 inch monitors (mmm...nice) running
> in 1024 x 768 resolution, high color (15-bit according to the screen driver
> software - strange, huh). The software is expected to run on smaller
> monitors (15-17 inch) so we decided to build it for 800 x 600 resolution.
> However, we discovered (again) that all 800 x 600 screens are not created
> equal. Normally we get around this (for internal apps) by making the users
> use the same screen configuration as the development team. However we are
> building this app for external use, and I guess it's time we found out what
> the heck is going on.
> 
> Example :
> I wrote the first few screens for this application at home over the weekend
> on my Phillips "Brilliance" 15 inch, 800 x 600 screen. When I installed it
> at work on Monday the form was still 800 x 600 in size (and therefore
> sitting in the middle of the screen), but all the components appeared to
> have shrunk. They still looked ok (with everything in the right place
> relative to each other) but they were huddled together in the top, left
> corner of the form. When run on my big monitor (a Phillips 20 inch 20/B,
> 1024 x 768) it looked silly (as if we were scared to use all the form real
> estate in case another idea came along). But on my co-workers big monitor
> (another Phillips 20 inch, but this one is a 200/B, whatever that means),
> running the same resolution (1024 x 768), it looks just the way I designed
> it at home (ie: fine). Conversely, when I resize everything to fit on my
> monitor at work, the reverse happens. My co-worker sees huge components
> which are too big for the form holding them.
> 
> What gives here ?  We first noticed this problem with screen resolutions in
> Delphi 1, and it's still with us.
> 
> Now I'm not concerned about resizing components to fit within a form which
> is made bigger or smaller on the fly. If our users are running in 800 x 600
> mode there will be no need to change the form size at runtime.
> 
> What concerns me is that I set a control.height to 25 pixels on my 800 x 600
> screen at home, and when I put it on my 1024 x 768 screen at work it had
> shrunk to 21 pixels (according to the object inspector). Am I nuts ? Is
> Borland/Inprise nuts ? Is this a Windows problem that will only be solved
> when little Melinda Gates takes over the company from daddy ? Or is there
> some kind of rationale behind this crazyness ?
> 
> Cheers,
> Simon Mahony,
> System Creator,
> MetService.
> 
> ---
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz
> 
Rohit

==
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH(649) 489-2280 
FX(649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
==

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Them screen/component sizing blues...

1999-03-25 Thread Grant Black

> Hi team.
> We're developing our new software on 20 inch monitors 
> (mmm...nice) running in 1024 x 768 resolution, high color (15-bit
according to the 
> screen driver software - strange, huh). 
Well if you don't want the hassle of 20" VDU's I am very happy to take
them off your hands .  15-bits is not too strange - 5 bits for each
of the RGB channels and a bit left over - usual for transparency.   


> Now I'm not concerned about resizing components to fit within 
> a form which is made bigger or smaller on the fly. If our users are 
> running in 800 x 600 mode there will be no need to change the form
size at runtime.
Check the Delphi Super Page - I have seen components that automatically
handle difference screen sizes (and font sizing). 
 
> What concerns me is that I set a control.height to 25 pixels 
> on my 800 x 600 screen at home, and when I put it on my 1024 x 768
screen at 
> work it had shrunk to 21 pixels (according to the object inspector).
Am I 
> nuts ? Is Borland/Inprise nuts ? Is this a Windows problem that will 
> only be solved when little Melinda Gates takes over the company from
daddy ? 
> Or is there some kind of rationale behind this crazyness ?
Windows (since 3.0 at least) sets control sizes on the basis of font
size (I have never worked out why).  If your users run large fonts or
small fonts then all your controls resize out of alignment (yukkky).
Luckly most users running large fonts have worked out that about every
app they use looks ugly, so 90% or users have the default font size on.

The real skill of course is to have a nice UI that scales well -
Borland, MS etc still fustrate me by continuing to use fixed size
dialogs & list boxes in places.  Nothing worse than looking at a long
directory listing of long file names in a fixed dialog that looks like
it was set up to view 8 char file names.


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



Re: [DUG]: Them screen/component sizing blues...

1999-03-25 Thread Peter Hyde

Simon wrote:

> weekend on my Phillips "Brilliance" 15 inch, 800 x 600 screen. When I
> installed it at work on Monday the form was still 800 x 600 in size (and
> therefore sitting in the middle of the screen), but all the components
> appeared to have shrunk. They still looked ok (with everything in the

You're not using Large Fonts on one or other of these machines, 
and Small on the others are you? It may have a bearing...



cheers,
peter


Peter Hyde, SPIS Ltd, Christchurch, New Zealand 
* TurboNote: http://TurboPress.com/tbnote.htm
  -- small, FREE and very handy
* Print-to-Web automation http://TurboPress.com
* Web design, automation and hosting specialists
Find all the above and MORE at http://www.spis.co.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Them screen/component sizing blues...

1999-03-25 Thread Simon Mahony

Hi team.
We're developing our new software on 20 inch monitors (mmm...nice) running
in 1024 x 768 resolution, high color (15-bit according to the screen driver
software - strange, huh). The software is expected to run on smaller
monitors (15-17 inch) so we decided to build it for 800 x 600 resolution.
However, we discovered (again) that all 800 x 600 screens are not created
equal. Normally we get around this (for internal apps) by making the users
use the same screen configuration as the development team. However we are
building this app for external use, and I guess it's time we found out what
the heck is going on.

Example :
I wrote the first few screens for this application at home over the weekend
on my Phillips "Brilliance" 15 inch, 800 x 600 screen. When I installed it
at work on Monday the form was still 800 x 600 in size (and therefore
sitting in the middle of the screen), but all the components appeared to
have shrunk. They still looked ok (with everything in the right place
relative to each other) but they were huddled together in the top, left
corner of the form. When run on my big monitor (a Phillips 20 inch 20/B,
1024 x 768) it looked silly (as if we were scared to use all the form real
estate in case another idea came along). But on my co-workers big monitor
(another Phillips 20 inch, but this one is a 200/B, whatever that means),
running the same resolution (1024 x 768), it looks just the way I designed
it at home (ie: fine). Conversely, when I resize everything to fit on my
monitor at work, the reverse happens. My co-worker sees huge components
which are too big for the form holding them.

What gives here ?  We first noticed this problem with screen resolutions in
Delphi 1, and it's still with us.

Now I'm not concerned about resizing components to fit within a form which
is made bigger or smaller on the fly. If our users are running in 800 x 600
mode there will be no need to change the form size at runtime.

What concerns me is that I set a control.height to 25 pixels on my 800 x 600
screen at home, and when I put it on my 1024 x 768 screen at work it had
shrunk to 21 pixels (according to the object inspector). Am I nuts ? Is
Borland/Inprise nuts ? Is this a Windows problem that will only be solved
when little Melinda Gates takes over the company from daddy ? Or is there
some kind of rationale behind this crazyness ?

Cheers,
Simon Mahony,
System Creator,
MetService.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz