Results 1 to 8 of 8

Thread: screen resolution

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    7

    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

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    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

  3. #3
    Lively Member
    Join Date
    Jan 2002
    Location
    Posts
    114

    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.....

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.)

  5. #5
    Hyperactive Member
    Join Date
    May 2005
    Posts
    324

    Re: screen resolution

    Quote 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:
    1. Me.Width = Screen.Width
    2. Me.Height = Screen.Height
    3. For i = 0 To Me.Controls.Count - 1
    4.     With Me.Controls(i)
    5.         .Left = .Left * theRatio
    6.         .Width = .Width * theRatio
    7.         .Top = .Top * theRatio
    8.         .Height = .Height * theRatio
    9.         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
    10.             .FontSize = .FontSize * theratio
    11.         Else
    12.             .Font.Size = .Font.Size * theratio
    13.         End If
    14.     End With
    15. 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.

  6. #6
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    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

  7. #7
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    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!

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: screen resolution

    Quote 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
  •  



Click Here to Expand Forum to Full Width