emi_sastra
asked on
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.
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.
Are you saying you would like to turn off the "snap-to" functionality--at least briefly?
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Idle_Mind,
Yes, it works.
I wonder any other way to set the drag smoothly ?
Thank you.
Yes, it works.
I wonder any other way to set the drag smoothly ?
Thank you.
ASKER
Hi kaufmed,
Yes, it works also.
Thank you.
Yes, it works also.
Thank you.
ASKER
Hi All,
Thank you very much for your help.
Thank you very much for your help.
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.
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.
ASKER
Hi JamesBurger,
Great. You should be regarded a point.
Thank you very much for your help.
Great. You should be regarded a point.
Thank you very much for your help.
ASKER
Hi JamesBurger,
Please see my new question regarding this post.
I will provide you points for your answer.
Thank you.
Please see my new question regarding this post.
I will provide you points for your answer.
Thank you.