473,396 Members | 2,115 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,396 software developers and data experts.

Creating applications for different screen sizes

I ran to the problem that after creating my app in a 1024x768 monitor and running it in a lower resolution (800x600), the texts of the buttons and labels where not appearing completly/correctly.

Is there a way to assure that your application will be compatible with most used monitor resolutions?

thanks!
Aug 13 '07 #1
9 1498
kenobewan
4,871 Expert 4TB
I usually design for the lower resolution, however you can check toe resolution in JS. HTH.
Aug 13 '07 #2
"toe resolution in JS. HTH."
JS HTH ..what is that ??
Aug 13 '07 #3
I usually design for the lower resolution, however you can check toe resolution in JS. HTH.
What do you mean with toe resolution in JS?
Aug 13 '07 #4
kenobewan
4,871 Expert 4TB
Screen resolution can be detected through JavaScript. "Toe" was a typo for the.
Aug 14 '07 #5
Sorry if I didnt mention before, but this is a VB app!
thanks!
Aug 15 '07 #6
kenobewan
4,871 Expert 4TB
Is that vb or vb.net?
Aug 15 '07 #7
Its Vb.net, with Microsoft Visual Studio..
Aug 16 '07 #8
dip_developer
648 Expert 512MB
Its Vb.net, with Microsoft Visual Studio..
you can use the Screen object to set height / width of your Form like....

Expand|Select|Wrap|Line Numbers
  1.  
  2. Form1.Height=Screen.Height 
  3. Form1.Width=Screen.Width
  4.  
and for setting any control location or height or width dont use absolute referencing.......... dont use any hard coded value like.....

Expand|Select|Wrap|Line Numbers
  1.  Button1.Location=New Point(10,10)
rather use
Expand|Select|Wrap|Line Numbers
  1. Button1.Location=New Point(Me.Location.X-10,Me.Location.Y-10)
Aug 16 '07 #9
winforms has a property called AutoScroll or autoscrollbar,try to set it to true.
else set scroll bar to true.this will work.
MSDN has some articles that mentoins about a property,i am right now cant remember,but that didnt work for me.
like we had a winforms app and users were using that app at different resolutions.So the users were not able to reach most of the buttons,so if u provide a scroll bar then user can scroll down to the buttons.
Hope this make sense an di am sure this will solve ur problem
do let me know if u need anything else.
Regards
Jignesh
Aug 18 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Geoff Cox | last post by:
Hello, I publish some web pages using large fonts and would like to give the user the opportunity to print the pages using a smaller font. I believe that this is possible using different style...
4
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum...
64
by: Dave | last post by:
A friend of mine pointed out the other day that certain elements on my web site are too small. But in most of what I publish, fonts are at default size or smaller, and my images are easy to see. I...
5
by: Joe Bonavita | last post by:
My Web forms display differently on different machine with the same resolution. The pages are designed to fit in 800*600 res but on some machines with 800*600 the form appears too big. Are there...
1
by: MikeY | last post by:
Hi Everyone, I'm looking for suggestions for touch screen form sizes. Or better yet dealing with forms very various screen sizes. How to deal with anchoring buttons etc and so they don't overlap...
22
by: mattf | last post by:
I've discovered Python and have been trying it out lately as a possible replacement for computations that would ordinarily be done with a commercial package like Matlab or IDL. I'd like to mention...
3
by: Jukka K. Korpela | last post by:
Some time ago in this group, someone suggested that we should develop a "different" user style sheet to demonstrate what a user style sheet or a browser style sheet _could_ do. I guess the idea was...
53
by: Jonas Smithson | last post by:
In his book "CSS: The Definitive Guide" 2nd edition (pgs. 116-117), Eric Meyer has an interesting discussion about "font-size-adjust" that was evidently dropped in CSS 2.1 due to browser...
12
by: ross m. greenberg | last post by:
I'm trying to create a function in JavaScript using Dreamweaver8 such that when a user hits the ' F1' key when a text box is selected a separate "pop-up" window will open, with text of my choice. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.