Link to home
Start Free TrialLog in
Avatar of Roger Alcindor
Roger Alcindor

asked on

How to disable movement of a form's position

How do I prevent a Form from being moved by dragging it with the mouse down. The form has a FormStyle of fsNormal and Border Style of bsDialog and Position of poDesktopCenter.
These properties need to remain un-changed.
I have implemented a timer that checks the form's position every 350 mSec and re-positions it if it has moved but there must surely be a better way ?

Thanks,

Roger
ASKER CERTIFIED SOLUTION
Avatar of theone256
theone256

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial