473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to make program suitable for multi-resolutions?

Hello all..

One thing that really irritates me is that i work at home on projects on my
laptop (which has resolution of 1280 x 800) but if i bring some of my
projects into college to work on PC's there (with a fixed resolution of 800
x 600).... i get presented with an Air Hockey game with the dimensions all
off, controls skewed and going off the screen etc.

Any suggestions on how to make my programs suitable for multi-resolutions...

Thanks in advance.

Brian
Nov 16 '05 #1
1 1655
You have to take into account the dimensions of a given resolution and
make your form items scale proportionally. If you have a text box thats
300x300 at 800x600 res then at 1024x768 you would make the box 128%
larger and so forth. This way, when maximized the location and size of
your form elements scale to the users view state.

Defining fixed size elements is a bad idea when you need to change
resolutions around.

Brian Basquille wrote:
Hello all..

One thing that really irritates me is that i work at home on projects on my
laptop (which has resolution of 1280 x 800) but if i bring some of my
projects into college to work on PC's there (with a fixed resolution of 800
x 600).... i get presented with an Air Hockey game with the dimensions all
off, controls skewed and going off the screen etc.

Any suggestions on how to make my programs suitable for multi-resolutions...

Thanks in advance.

Brian

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Pat Deegan | last post by:
Greetings, I've been having issues while debugging programs. The problems only appear when using the '-d' switch and I get the impression it has to do with UTF8 and regex matching but I don't...
0
by: Juan Jose Costello Levien | last post by:
Hello, My name is Juan. I am new to the forum. Here I leave you a problem to see if you can help me. General Description I am developing an application in Visual Basic 6.
22
by: script-learner | last post by:
I currently own a fruit and veg business and wish to compuiterise my manual methods in order to reduce labour costs. I spoke to my son who is a whiz on computers and he had a good chat with me and...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: awebguynow | last post by:
I come from a Java background and I was just wondering if a Singleton pattern is suitable for websites with heavy traffic. Of course the most common example given is the DB connection, and maybe a...
2
by: Ivan | last post by:
I have a class Foo which have two property. I have a thread that do some process and update class Foo int B. I have a datagridview on main form. this datagridview data source to this class Foo and...
3
by: Elliot | last post by:
I have written a C# program and then make the setup project. I specify the prerequisite (.NET Framework 3.5) to be downloaded as the same location as my location. However, I find that my project...
7
by: Protocol | last post by:
Hello all Is Python suitable for building a multi-track midi sequencer (with a gui), that would run on windows / mac ? I fail to find sufficient information on this, being a newbie and all....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.