Results 1 to 5 of 5

Thread: [RESOLVED] [2005] Snap to form borders

  1. #1

    Thread Starter
    Hyperactive Member Tarablue's Avatar
    Join Date
    Feb 2007
    Location
    Somewhere West of GMT
    Posts
    398

    Resolved [RESOLVED] [2005] Snap to form borders

    Hello All,

    I'm trying to line up several objects, 'labels, ComboBoxes etc', within an form by using 'Select All' and then using the mouse to move them around. I can't seem to get them too close to the borders of the form as there appears to be a margin aound the form that they wil either stick to or go way past.

    I looked in 'Tools/Options/Windows Form Designer and tried to turn off the snap and change the snap size, but that has no effect what so ever.

    Any clues as to where I should be looking.

    Best Rgds,
    Tarablue

  2. #2
    Lively Member
    Join Date
    Feb 2006
    Posts
    123

    Re: [2005] Snap to form borders

    If you hold Alt while dragging objects, that allows you to position them anywhere.

  3. #3

    Thread Starter
    Hyperactive Member Tarablue's Avatar
    Join Date
    Feb 2007
    Location
    Somewhere West of GMT
    Posts
    398

    Re: [2005] Snap to form borders

    Hello lil n00b,

    Yep that fixed it, thank you. Again it's always something small that solves the problem.

    Best Rgds,
    Tarablue

  4. #4

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] [2005] Snap to form borders

    I strongly suggest not turning off snap lines as they are the best way to position controls. If you don't like the distance that the snap lines enforce then you should be editing the Margin and Padding properties of your form and its controls.
    Last edited by jmcilhinney; Aug 31st, 2008 at 07:18 AM.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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