At design time, can you prevent components from moving on the first selection click?

1.4k views Asked by At

All of our forms tend to have things get a few pixels out of place because when we click a component to modify the properties, there is a tendency to have the component move if the mouse is still moving the tiniest bit when we select a component.

Is there a setting that makes it so you can't move a component that isn't already selected? (Requiring a second intentinoal click to actually move things.)

2

There are 2 answers

1
Hans On

You can enable "Lock controls" from the "Edit" menu, then it won't move when you click it, but it will of course remain locked also at the second click. However, at least it will save you from the accidental moves just because you need to select the control

0
sam lin On

I find uncheck (use designer guidline) can prevent the problem, but you will not see the alignment line.

tools->options->Form Designer