FoxPro 4 Mac : problem with screen size 
Author Message
 FoxPro 4 Mac : problem with screen size

I've developped a FoxPro application on a PowerPC with a 14" monitor, but
when I try to run it on another Mac (LC II) with a 12" monitor, it seems
that there's a problem with the size of the screen: my screens interfaces
are in some cases outside of the computer screen, and the same font
doesn't have the same screen size on the two computers. I'd like to know
if anybody have any solution for this problem. And more specifically, is
there any way to know programmaticaly what is the size of the screen where
the applications is running on?

TIA!

--

                                |     maison:   514-271-4136
Etudes cinematographiques       |     travail:  514-343-6111 (#7858)
Universite de Montreal          |     fax:      514-343-2393



Sat, 21 Dec 1996 22:04:14 GMT
 FoxPro 4 Mac : problem with screen size

Ugh.... not again! :/  (Puts hands over face)

Ok.  We just got finished going through all of this. :)  So, from what
I remember - here are the answers:

1. This doesn't ever happen!  The system is supposed to adjust the
screen automatically!  (Obviously not in your case though. ;) )

2. You should create all of your screens on the smaller screen so that
they will fit on both screens.  (A good answer.)

3. You can do the ratios between the screens yourself and apply these
to your .fmt or .scr files. (A pain in the {*filter*}but it can be done.)

Why does it do this?  (ie: One screen looks like X and the other looks
like Y?)

The reason everything fits on one screen but not on the other is
because the dot pitch on the one screen is smaller/better/more
accurate/whatever than on the other.  Thus, the 14" screen may have a
rating of 28dpi and the 12" may have only a 30dpi.  (Or I may be full
of it - who knows! ;) )  At any rate, the two monitors are not the
same and that is why one one the screen fits and on the other it
doesn't.  It's also why the fonts don't look as nice on the one as
they do on the other.

Just as obvious is that #1 above is not true and #3 would take up so
much time as to be unfeasible.  Therefore #2 is the best answer.  You
should always work with the lowest common demoniator when building an
application so that everyone gets about the same quality and everyone
can see everything on the screen.

Later. :)
--------------------------------------------------------------------------------

Freedom of thought is given by your deity.
Freedom of speech by your government.
Everything else you have to get yourself.



Sun, 22 Dec 1996 06:29:16 GMT
 FoxPro 4 Mac : problem with screen size

Quote:
(Mark Manning/Metrica) writes:
> The reason everything fits on one screen but not on the other is
> because the dot pitch on the one screen is smaller/better/more
> accurate/whatever than on the other.  Thus, the 14" screen may have
> a rating of 28dpi and the 12" may have only a 30dpi.  (Or I may be full
> of it - who knows! ;) )  At any rate, the two monitors are not the
> same and that is why one one the screen fits and on the other it
> doesn't.  It's also why the fonts don't look as nice on the one as they
> do on the other.

Actually, it doesn't have anything to do with dot pitch -- that's some
monitor adjustment only people shopping for cheap monitors look at. (Nearly
all Macs are bought with Trinitrons, which have a very low (==good) dot
pitch, anyway.)

The problem is, quite simply, that the smaller screen is *smaller*. That is,
it has fewer pixels. I don't know a much better definition of smaller. It
*is* possible for a Mac programmer to find out the actual resolution (72
pixels per inch is ideal; 68-80 is typical) of the screen, but FoxPro
shouldn't and doesn't care.

Your 14" monitor is 640x480 pixels. Your 12" monitor is 512x384 pixels.
Windows bigger than 512x362 pixels won't fit on the small one. I don't know
about any juggling FoxPro may do -- I'm designing for 14" monitors only.
However, I doubt it does anything.

The reason the fonts look better on the bigger monitor is that it actually
has a higher ppi -- that 14" Trinitron so common with Macs is about 72 ppi,
while the old 12" Trinitron sold with LCs (primarily) is about 62 ppi. The
pixels are actually bigger; therefore fonts (and everything else) don't look
as nice. If you get a 100dpi+ monitor (expensive), fonts look just beautiful,
though extremely small for their point size.

Quote:
> Just as obvious is that #1 above is not true and #3 would take up so much
> time as to be unfeasible.  Therefore #2 is the best answer.  You should
> always work with the lowest common demoniator when building an
> application so that everyone gets about the same quality and everyone
> can see everything on the screen.

Yep. You pretty much have to rework things so they fit on the smaller screen.

Cheers,
Andrew



Sun, 22 Dec 1996 10:15:05 GMT
 FoxPro 4 Mac : problem with screen size
[Stuff deleted]

Yeah, that's what I meant.  Although it wasn't what I said.  Sorry
about that. :/

--------------------------------------------------------------------------------

Freedom of thought is given by your deity.
Freedom of speech by your government.
Everything else you have to get yourself.



Mon, 23 Dec 1996 05:53:54 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. How to get screen size on Mac FoxPro?

2. iBook Mac screen size?

3. How find out screen-size with VFP3/Mac?

4. Question: Relating Screens in FoxPro Mac 2.5

5. Help With FoxPro 2.6a Mac Screen Builder

6. FoxPro 2.5b for Mac, using multiple screen sets at once

7. porting from FoxBASE+/Mac to FoxPro/Mac?

8. FoxPro for Mac and Mac IIci

9. Screen Size Problem in Filemaker Pro

10. Screen size and position problem in .exe fp2.6a

11. FPW2.6 Screen size problem

12. Problems filling List on screen with FoxPro 2.6


 
Powered by phpBB® Forum Software