Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display issue

Status
Not open for further replies.

SteveMacPSU

Programmer
Sep 8, 2005
32
US
I am cruising along fine with my FoxPro 9.0 development project. I did just run into a snag though. My desktop is set at 1024 x 768 and all is well. I just showed my progress to a user that has a desktop setting of 800 x 600. Of course the screen on the right side is cut off. I set scroll bars on and they can access the right side of the form that way. Is there a better solution?
 
I'd suggest setting your Maximum design area to 800x600 if that's what your users have. (Tools->Options->Forms->Maximum design area)

Then, use a pageframe on your form to break it up into smaller chunks.

Regards,
Jim
 

Steve,

I strongly agree with Jim. It's much better if you can design your forms so that the user is not forced to scroll, even if that means smaller forms.

Consider using page frames to provide more space, or just try making the controls a little smaller.

Another option is to make the form completely resizable, using the new Anchor property where necessary. Start with a form that will fit 800 x 600, but let the user make it bigger if they wish, at which point you would increase the size of the controls (but only the controls that benefit from resizing -- not command buttons, for instance).

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
set the max design area to 800 x 600.

Remembering that you don't get all the 800x600 for your Fox form. There may be a Windows status bar, a Fox title, a Fox menu and a Fox status bar all stealing height from you. The only way I've found to avoid embarrassment is to reset my screen to 800x600 and see whether the app is usable at that resolution.

Geoff Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top