We have the constellation that the monitor-alignment is on bottom-line, not top-line
With this, the calculation is wrong.
We disable following code to get it work
// LMon := Screen.MonitorFromPoint(q);
// if not Assigned(LMon) then
// Exit;
// LNMon := LMon.MonitorNum;
//
// if (q.x - Screen.Monitors[LNMon].Left) < 0 then
// q.x := Screen.Monitors[LNMon].Left;
// if q.y + Screen.Monitors[LNMon].Top < 0 then
// q.y := Screen.Monitors[LNMon].Top;
See attached PNG. My main monitor is monitor 3 (center monitor)
png
png
Comments
But now I see that the problem is