+ Reply to Thread
Results 1 to 5 of 5

Thread: Resizing controls with form: Anchor property

  1. #1
    Guru ArekBulski is just really nice ArekBulski is just really nice ArekBulski is just really nice ArekBulski is just really nice ArekBulski is just really nice ArekBulski's Avatar
    Join Date
    Mar 2009
    Posts
    1,374

    Resizing controls with form: Anchor property

    Welcome! This short tutorial will show you how to re-size controls, when you are re-sizing your form. For example, after clicking Maximize button, a form will get much bigger. If buttons and controls inside stay with same size... it may look strange. In case you want to change it, there it is:

    Changing Anchor property of controls

    Select the controls that you want to be resizing with your form. They may be buttons, listviews and textboxes, but not necessarily every one of them. Now go to the Properties panel, and select Anchor property. After clicking on that gray thing you can add or remove right and bottom anchor. Please add them.





    Now just resize your form and you will see the effect immediately. Here are example screenshots, after adding those anchors.




    Thank you for comments

    You can leave a comment any time. I hope this tutorial will be of some help for someone.
    Attached Thumbnails Resizing controls with form: Anchor property-zoomin-anchor-property.jpg   Resizing controls with form: Anchor property-zoomin-anchor-property-2-.jpg   Resizing controls with form: Anchor property-zoomin-anchor-property-3-.jpg   Resizing controls with form: Anchor property-build-after-anchoring.jpg   Resizing controls with form: Anchor property-build-after-anchoring-2-.jpg  

    Resizing controls with form: Anchor property-default-anchors.jpg  
    Attached Files

  2. #2
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: Resizing controls with form: Anchor property

    Short, sweet and full of pictures! Perfect, +rep!

  3. #3
    Guru debtboy is just really nice debtboy is just really nice debtboy is just really nice debtboy is just really nice debtboy is just really nice debtboy's Avatar
    Join Date
    Aug 2009
    Location
    I'm in the... Black Lodge
    Posts
    908

    Re: Resizing controls with form: Anchor property

    Good Stuff, +rep when I can
    it says, I have to spread some around first
    The owls are not what they seem...

  4. #4
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,673
    Blog Entries
    57

    Re: Resizing controls with form: Anchor property

    Good stuff +rep
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  5. #5
    Guru ArekBulski is just really nice ArekBulski is just really nice ArekBulski is just really nice ArekBulski is just really nice ArekBulski is just really nice ArekBulski's Avatar
    Join Date
    Mar 2009
    Posts
    1,374

    Re: Resizing controls with form: Anchor property

    Good to hear that you liked the screenshots.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. C# Tutorial - How To Open New Forms
    By Xav in forum CSharp Tutorials
    Replies: 11
    Last Post: 01-22-2010, 03:16 AM
  2. GUI Development with the Netbeans IDE
    By chili5 in forum Java Tutorials
    Replies: 3
    Last Post: 08-10-2009, 02:53 AM
  3. VB2008 Tutorial - Print Screen
    By travy92 in forum VB Tutorials
    Replies: 28
    Last Post: 02-15-2009, 06:11 PM
  4. Introduction to Form Submission PART I
    By Xav in forum PHP Tutorials
    Replies: 7
    Last Post: 10-14-2008, 02:09 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts