Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Problem iwith Screen Resolution

Problem iwith Screen Resolution

Scheduled Pinned Locked Moved C#
questionhelp
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    quiteSmart
    wrote on last edited by
    #1

    hi all, i have problem with the application apperance. I am developing using a Screen Resoulution 1024 * 768. But when i change the resolution to 1280 * 1024 the panels that were maximized changes the size and everything get out of it palce or changes its size, How can i solve this problem?

    M S 2 Replies Last reply
    0
    • Q quiteSmart

      hi all, i have problem with the application apperance. I am developing using a Screen Resoulution 1024 * 768. But when i change the resolution to 1280 * 1024 the panels that were maximized changes the size and everything get out of it palce or changes its size, How can i solve this problem?

      M Offline
      M Offline
      Martin 0
      wrote on last edited by
      #2

      Hello, Normaly the correct usage of anchor and dock property from the controls should solve this problem. May you can give a more detailed example. All the best, Martin

      Q 1 Reply Last reply
      0
      • M Martin 0

        Hello, Normaly the correct usage of anchor and dock property from the controls should solve this problem. May you can give a more detailed example. All the best, Martin

        Q Offline
        Q Offline
        quiteSmart
        wrote on last edited by
        #3

        He Martin i don't know what to info should i give you. Lead me if you can. anyways i will try to change the anchor and dock properties. It need some time. So if it didn't work i will repost tomorrow. Thanks:rose:

        1 Reply Last reply
        0
        • Q quiteSmart

          hi all, i have problem with the application apperance. I am developing using a Screen Resoulution 1024 * 768. But when i change the resolution to 1280 * 1024 the panels that were maximized changes the size and everything get out of it palce or changes its size, How can i solve this problem?

          S Offline
          S Offline
          Sylvester george
          wrote on last edited by
          #4

          Hi, When you set the size for each and every control, give in terms of percentage(%) instead of giving the exact size

          Regards, Sylvester G

          Q 1 Reply Last reply
          0
          • S Sylvester george

            Hi, When you set the size for each and every control, give in terms of percentage(%) instead of giving the exact size

            Regards, Sylvester G

            Q Offline
            Q Offline
            quiteSmart
            wrote on last edited by
            #5

            And how can i calculate the percentage size if i have the size in pixcels??

            M 1 Reply Last reply
            0
            • Q quiteSmart

              And how can i calculate the percentage size if i have the size in pixcels??

              M Offline
              M Offline
              Martin 0
              wrote on last edited by
              #6

              I would prefere skaling! (Control.scale)

              Q 1 Reply Last reply
              0
              • M Martin 0

                I would prefere skaling! (Control.scale)

                Q Offline
                Q Offline
                quiteSmart
                wrote on last edited by
                #7

                hey martin, your following me everywhere:-D thanks for the replies

                Martin# wrote:

                I would prefere skaling! (Control.scale)

                I will try that. i have never used it before so i am having a search on google and MSDN to find some methods for using it. If you have any link for that please tell me about. thanks again:cool:

                M 1 Reply Last reply
                0
                • Q quiteSmart

                  hey martin, your following me everywhere:-D thanks for the replies

                  Martin# wrote:

                  I would prefere skaling! (Control.scale)

                  I will try that. i have never used it before so i am having a search on google and MSDN to find some methods for using it. If you have any link for that please tell me about. thanks again:cool:

                  M Offline
                  M Offline
                  Martin 0
                  wrote on last edited by
                  #8

                  Hello, Actually scale is a method from the control class, so every Control which inherits from System.Control (TextBox, Button, ...) has it. http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.scale.aspx[^] All the best, Martin

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups