Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

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.
0
emi_sastra
Asked:
emi_sastra
2 Solutions
 
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
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
With the control selected, simply use the arrow keys to move it around.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
käµfm³d 👽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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now