+ Reply to Thread
Results 1 to 5 of 5

Thread: Resizing controls with form: Anchor property

  1. #1
    Join Date
    Mar 2009
    Posts
    1,375
    Rep Power
    24

    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 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 Attached Files

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Resizing controls with form: Anchor property

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

  4. #3
    Join Date
    Aug 2009
    Location
    ~/
    Posts
    918
    Rep Power
    19

    Re: Resizing controls with form: Anchor property

    Good Stuff, +rep when I can
    it says, I have to spread some around first

  5. #4
    Join Date
    Jul 2006
    Posts
    16,466
    Blog Entries
    74
    Rep Power
    143

    Re: Resizing controls with form: Anchor property

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

  6. #5
    Join Date
    Mar 2009
    Posts
    1,375
    Rep Power
    24

    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. Anchor with rounded borders
    By sAuhsoj in forum HTML Programming
    Replies: 1
    Last Post: 08-21-2011, 07:23 AM
  2. How to hide anchor title attribute tooltip?
    By Alhazred in forum JavaScript and CSS
    Replies: 5
    Last Post: 09-25-2010, 01:48 AM
  3. resizing terminal
    By frank101 in forum C and C++
    Replies: 5
    Last Post: 08-14-2010, 10:56 AM
  4. Replies: 1
    Last Post: 08-01-2010, 03:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

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