CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    8

    Question Control grows vertically

    Most of controls can be expanded vertically, but how can I disable it ? I only want to get the horizontal expandability ?

    Is this feasible ?

    Thanks
    It's the origin of W on earth -Rasble

  2. #2
    Join Date
    Feb 2009
    Posts
    8

    Re: Control grows vertically

    By expand, I'd mean to enlarge, to make it bigger in size or longer horizontally
    It's the origin of W on earth -Rasble

  3. #3
    Join Date
    Apr 2008
    Location
    Kentucky
    Posts
    73

    Re: Control grows vertically

    Set the MaximumSize.Height property for your controls (May need to also set the .Width property, but just set it for something really large)

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

Featured