Reputation: 65
I'm using Embarcadero Delphi 10.3 Version 26.0.36039 on Windows 10.
Step 1: place aligned Edit and Button controls on the Form. (Edit.Top = 42)
Step 2: Move the Edit down 2 points (Edit.Top = 44)
Step 3: Click on the Edit. Bam! The control has moved two points up (Edit.Top = 42)
How to fix it?
Upvotes: 1
Views: 360
Reputation: 8243
In addition to disabling "Snap to Grid" and/or "Use Designer Guidelines" in the environment, you can also press (and hold) the Alt key while dragging the component. This will (temporarily) disable the "Snap" feature while you're dragging.
Upvotes: 1