Board index » delphi » Lock a form position / Disable form drag

Lock a form position / Disable form drag

Im using Delphi 7, and i want to disable a drag of a form.
How can i do this ?
Thanks
 

Re:Lock a form position / Disable form drag


"Carlos Eduardo Moreira" <zet...@ig.com.br> wrote:

Quote
>Im using Delphi 7, and i want to disable a drag of a form.
>How can i do this ?

Remove the caption. Otherwise the user will get upset when they try to
drag it.

Since it probably isn't going to be a terrible disaster if the user
moves your window, why is this necessary? There might be a better
solution to the actual problem than preventing dragging.

Good luck.

Kurt

Other Threads