Lock Control Positions Command

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