resizing the controls of a form according to screen size in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • almaach
    New Member
    • Feb 2008
    • 1

    resizing the controls of a form according to screen size in vb.net

    How can we resize the controls of a form accordin to different resolutions???? ???
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by almaach
    How can we resize the controls of a form accordin to different resolutions???? ???
    always use relative height/width of your control.....som ething like
    Textbox1.Width= me.width-200 or
    Panel1.Height=m e.height/3

    the on resolution change if your form width is changed the control width will be changed accordingly.... ...

    Comment

    Working...