DRAG CONTROL SMOOTHLY AT DESIGN TIME

Hi All,

I create a form and I want to drag a control that space between control could be moved smoothly and as close as possible between controls.

How could I do it ?

Thank you.
LVL 1
emi_sastraAsked:
Who is Participating?
 
Mike TomlinsonConnect With a Mentor Middle School Assistant TeacherCommented:
With the control selected, simply use the arrow keys to move it around.
0
 
käµfm³d 👽Commented:
Are you saying you would like to turn off the "snap-to" functionality--at least briefly?
0
 
emi_sastraAuthor Commented:
Hi kaufmed,

I want to do it at design time :

ControlA

ControlB

I want it to be :
ControlA
ControlB

It is hard to use drag controlB to close to controlA at design time. I have to use location property to set it.

Is there any other to set it ?

Thank you.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
käµfm³d 👽Connect With a Mentor Commented:
You can hold down the "Alt" key while dragging and it should negate the snap-to functionality until you release the key.
0
 
emi_sastraAuthor Commented:
Hi Idle_Mind,

Yes, it works.
I wonder any other way to set the drag smoothly ?

Thank you.
0
 
emi_sastraAuthor Commented:
Hi kaufmed,

Yes, it works also.

Thank you.
0
 
emi_sastraAuthor Commented:
Hi All,

Thank you very much for your help.
0
 
Jacques Bourgeois (James Burger)PresidentCommented:
Select both controls.

In the toolbar, you have a series of buttons that help you to work with controls placement. If it does not show, activate View...Toolbars...Layout.

There is a button toward the middle to Remove Horizontal Spacing, and another one, a little more to the right to Remove Vertical Spacing.
0
 
emi_sastraAuthor Commented:
Hi JamesBurger,

Great. You should be regarded a point.

Thank you very much for your help.
0
 
emi_sastraAuthor Commented:
Hi JamesBurger,

Please see my new question regarding this post.
I will provide you points for your answer.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.