Do this:

set your monitor size to 800 x 600   (just exagerating the test :-) )

in the init event of your form

thisform.Height = Sysmetric(2 ) - 150
thisform.Width  = Sysmetric(1) - 30
thisform.Left   = 10

Run the form and see what happens

I just did this (my monitor is usually 1280 x 1024)

The form fits perfectly in the screen area.


Rafael Copquin



El 25/10/2012 01:03 p.m., Fred Taylor escribió:
The "Maximum Design Area" is just a helper to make sure you haven't gone
over a pre-set limit you may need to adhere to for your other users of your
system.  It doesn't impact the size in any way.

Fred


On Thu, Oct 25, 2012 at 8:41 AM, James Harvey <[email protected]> wrote:

I set each form manually.

Not that I'm trying to excuse my behavior, but  I am an in-house developer,
and our apps are somewhat static, so I'm not creating new forms, and have
not taken the opportunity to create a form class.

Sysmetric in the command window shows a 1920x1080 resolution no matter what
setting is in the options.  So the size of the form isn't directly related
to resolution, other than screens might not show in their totality without
some resizing efforts on the end user's part.



James E Harvey
Corresponding Officer/M.I.S.
Hanover Shoe Farms, Inc.
www.hanoverpa.com
office: 717-637-8931
cell: 717-887-2565
fax: 717-637-6766


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Frank
Cazabon
Sent: Thursday, October 25, 2012 10:55 AM
To: [email protected]
Subject: Re: maximum design area

But when you create a new form, what is the height and width?  Do you base
your new form on a class?

Frank.

Frank Cazabon

On 25/10/2012 10:38 AM, James Harvey wrote:
I usually use a standard of height = 750 and width = 1150.

James E Harvey
Corresponding Officer/M.I.S.
Hanover Shoe Farms, Inc.
www.hanoverpa.com
office: 717-637-8931
cell: 717-887-2565
fax: 717-637-6766


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Frank
Cazabon
Sent: Thursday, October 25, 2012 9:33 AM
To: [email protected]
Subject: Re: maximum design area

You need to check your form's width and height to see what it is
defaulting to.

Frank.

Frank Cazabon

On 25/10/2012 08:44 AM, James Harvey wrote:
Do you think my forms are defaulting to my pc's resolution
(1920x1080) since "None" is the setting in my options, or since the
1920x1080 is not listed as an option, does it choose a setting close.

I looked for a resolution property for the form, but it doesn't
exist, so I wonder how you tell what resolution a form was designed
under when the maximum design area options setting is "None".


James E Harvey
Corresponding Officer/M.I.S.
Hanover Shoe Farms, Inc.
www.hanoverpa.com
office: 717-637-8931
cell: 717-887-2565
fax: 717-637-6766


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Paul
Newton
Sent: Thursday, October 25, 2012 7:58 AM
To: [email protected]
Subject: RE: maximum design area

I don't think there is a "standard" resolution but here we do not
support resolutions less than 1080 x 768

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf
Of James Harvey
Sent: 25 October 2012 12:47
To: [email protected]
Subject: maximum design area

I was under the sorely mistaken impression that I had set the maximum
design area to 1024 x 768 under the Tools - Options - Forms tab. This
was the old setting before I formatted by HDD and forgot to reset
this default.  It has been set at (None) for about a year now.

My pc's resolution is 1920 x 1080.

The resolutions available under the VFP 9 "Forms" tab are:

(None)
640x480
800x600
1024x768
1152x882
1280x1024
1600x1200

Any advice on what a "Standard" resolution is now-a-days?

If I leave the setting at (None) does that mean it defaults to my
pc's resolution of 1920x1080?

Most of our pc's are Win7 with 23-24 inch wide screen monitors, so
there isn't a problem, but one of the users has a laptop, resolution
in
the 1300x?
range, and he has trouble seeing the entire form, and has to click
and drag corners to resize to his form.  He is the only one with this
issue, so far, and it must be due to the resolution settings.


James E Harvey
Corresponding Officer/M.I.S.
Hanover Shoe Farms, Inc.
www.hanoverpa.com
office: 717-637-8931
cell: 717-887-2565
fax: 717-637-6766


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to