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

    auto resize controls

    I need resize all the controls in my form, always wend my form was resized...

    Is there a control to do this?

    PS: Sorry my bad english...

    Érol Tavares Stocchero

  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: auto resize controls

    use the form_resize

    eg:


    private sub Form_Resize()

    myTxt.width = Form1.width - command1.width
    command1.width = myTxt.left + myTxt.width

    End Sub





    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: auto resize controls

    There are many controls on the market that will accomplish this. The APEX Olectra Resizer has a free evalutation version available for download at http://www.apexsc.com


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