|
-
Aug 8th, 2005, 08:45 AM
#1
Thread Starter
New Member
screen resolution
I use a laptop with a screen resolution of 1024 x 768 which is the default for my laptop. I have tried other resolutions and they look bob!.
I find it very difficult to size my forms etc to run on other pcs after I have compiled them, so whats the best resolution to develop with?
Thanks
-
Aug 8th, 2005, 08:48 AM
#2
Re: screen resolution
I think now a days the standard to develop on is 1024x768 (or atleast thats what my teacher told me)
But a good rule of thumb is to just develop on the lowest resolution you're willing to support
-
Aug 8th, 2005, 08:51 AM
#3
Lively Member
Re: screen resolution
create one form with 800X600 resolution and use this form as standard template ... what ever u r resolution ... the size remails same.....
Hope it will give u some idea.....
-
Aug 8th, 2005, 08:55 AM
#4
Re: screen resolution
I work for as commerical software developer, and our standard is 1024 x 768.
So far, we have had no complaints from our customers (at least none that has every use my department.)
-
Aug 8th, 2005, 09:04 AM
#5
Hyperactive Member
Re: screen resolution
 Originally Posted by turnbull
I use a laptop with a screen resolution of 1024 x 768 which is the default for my laptop. I have tried other resolutions and they look bob!.
I find it very difficult to size my forms etc to run on other pcs after I have compiled them, so whats the best resolution to develop with?
Thanks 
Resizing forms at runtime is not that hard. I made this code to resize a form:
VB Code:
Me.Width = Screen.Width
Me.Height = Screen.Height
For i = 0 To Me.Controls.Count - 1
With Me.Controls(i)
.Left = .Left * theRatio
.Width = .Width * theRatio
.Top = .Top * theRatio
.Height = .Height * theRatio
If TypeName(Me.Controls(i)) = "CommandButton" Or TypeName(Me.Controls(i)) = "TextBox" Or TypeName(Me.Controls(i)) = "Frame" Or TypeName(Me.Controls(i)) = "OptionButton" Or TypeName(Me.Controls(i)) = "DataCombo" Or TypeName(Me.Controls(i)) = "MSHFlexGrid" Then
.FontSize = .FontSize * theratio
Else
.Font.Size = .Font.Size * theratio
End If
End With
Next
where theRatio was a public variable created by dividing screen.width by the number of twips wide your screen is at the original resolution. I got that figure just by using a watch.
Later I got a laptop with widescreen, so I had to adapt the code using two variables- TheRatioH and TheRatioV. I haven't got the new code here, but it's pretty obvious.
-
Aug 8th, 2005, 09:06 AM
#6
Re: screen resolution
Yes 1024 x 768 is the beast of resolutions, there is a component tat you can add to your form, which will make it suitable for lower resolutions, withuot having to to it yourself.
On the forums 5 years now HAck, WOO
-
Aug 8th, 2005, 10:43 AM
#7
Frenzied Member
Re: screen resolution
Website statistics give a good indication of the resolutions used out there. At present it seems to be:
640 x 480 = 0.5%
800 x 600 = 27%
1024 x 768 = 70%
Higher = 2.5%
So although 1024 x 768 is the most popular 800 x 600 is still a large minority - therefore here we still develop for 800 x 600 and up.
Also these stats change depending on the target audience e.g. a technical audience tend to have larger screen resolutions.
HTH
DJ
If I have been helpful please rate my post. If I haven't tell me!
-
Aug 9th, 2005, 09:55 AM
#8
Re: screen resolution
 Originally Posted by turnbull
I use a laptop with a screen resolution of 1024 x 768 which is the default for my laptop. I have tried other resolutions and they look bob!
That's because LCD's have a native resolution, where each onscreen pixel is matched to a panel pixel. At lower resolutions onscreen pixels are approximated over several panel pixels and so it looks very blurry.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|