URGENT:Resolution Problem

Hi all,

              I having the big application having several forms and controls over it. I developed that application in the environment 1024 * 768 resolution. The probelm is that when we change the resolution, my application does not show the forms and controls over it correctly, if we increase the resolution, the forms goes outside the screen, if we decrease the resolution, the the controls over the contol get shrink and form do not shrink in the same ratio, it shows the unnessary gap between the forms and control over it.

Can anybody tells me the solution for this, my reqirement is my application should always shown with in the screen of the monitor,  even what ever the resolution of the system is, It should work as a like a standard application works like Visual Studio etc. I want to cnange the resolution of my system programatically, beacuse it will effect the other applications.

 

Thanks in Advance

Rahul 

 

 



Answer this question

URGENT:Resolution Problem

  • wilam

    Controls have dock and anchor properties to help with form resizing

  • FlowJam

    Hai ken Tucker,

    I too facing the same problem as like rahul, could u please explain with some examples for anchor and dock to solve the problem.

    Best Regards,

    ansar

     



  • BillNoble

    The anchor property will keep the control a fixed a distance from edge of a form. The dock property will lock a control to the edge of the form or to fill the entire form.

  • URGENT:Resolution Problem