Select the Lock Control Positions command from the Options menu to lock all the controls on your form so that you cannot accidentally move them by dragging.
To lock all control positions, perform one of the following actions
Select the Lock Control Positions command from the Options menu
Click the Control move lock toolbar button