Lock Position of Modeless Form

Started by RGUS, February 23, 2022, 03:51:27 PM

Previous topic - Next topic

RGUS

Hi everyone,
Is there a way to lock a modeless form in position on the screen once it has been placed with "setpos" so it can't be accidentally dragged out of that position?

Thanks for any help.

Fred Tomke

Hi, no it is not possible. But you can override the positon in the OnMove event.
With regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]