Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Wrong Position Menu on Multimonitor-Systems

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
MonitorAlignment.png
4K

Comments

Sign In or Register to comment.