Resize

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris

    #1

    Resize


    Hi,

    Can some one please point me in the direction of some C# code that will
    resize all controls on a form when the form is resized.

    Thanks

    Chris


  • John B

    #2
    Re: Resize

    Chris wrote:[color=blue]
    > Hi,
    >
    > Can some one please point me in the direction of some C# code that will
    > resize all controls on a form when the form is resized.
    >
    > Thanks
    >
    > Chris
    >
    >[/color]
    Check out the dock and anchor properties.
    Otherwise you would need to resize in the resize event.

    JB

    Comment

    • Maqsood Ahmed

      #3
      Re: Resize

      Hello,
      To be more exact you need to change it in SizeChanged event, if you
      are not using Dock or Anchor properties.

      HTH. Cheers
      Maqsood Ahmed [MCP,C#]
      Kolachi Advanced Technologies


      *** Sent via Developersdex http://www.developersdex.com ***

      Comment

      Working...