<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:large">aah , i just noticed the Screens array :-\</div><div class="gmail_default" style="font-size:large">my apologies<br></div><div class="gmail_default" style="font-size:large">BruceS<br></div></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 31 Oct 2022 at 14:50, Bruce Steers <<a href="mailto:bsteers4@gmail.com">bsteers4@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:large">PS. this also probably explains the issue i had a while ago with dialogs and windows not popping up on the correct monitor.</div><div style="font-size:large">I (and everyone else) assumed the windows were only opening on the primary display , but it's not the case , I just discovered if the primary is on the right then they open on the secondary left hand display.<br></div><div dir="ltr"><div style="font-size:large"><br></div><div style="font-size:large">i doubt it works on a QT system but the x11 hint _GTK_WORKAREAS_D0 gives me something i can work with.</div><div style="font-size:large"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 31 Oct 2022 at 14:29, Bruce Steers <<a href="mailto:bsteers4@gmail.com" target="_blank">bsteers4@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:large">I've just been investigating Screen.class with 2 monitors connected.</div><div style="font-size:large"><br></div><div style="font-size:large">It seems if my primary monitor is to the left of the secondary I get this info from Screen.class</div><div style="font-size:large"><br></div><div style="font-size:large">Screen.X = 0<br></div><div style="font-size:large">Screen.Width = Primary width</div><div style="font-size:large">(no information about secondary display)<div style="font-size:large"><br></div><div style="font-size:large">If the primary is to the right then i get this..</div><div style="font-size:large">Screen.X = secondary screen width</div><div style="font-size:large">Screen.Width = primary screen width</div><div style="font-size:large"><br></div><div style="font-size:large">so seeing Screen.X is the width of the other monitor i can see i have 2 monitors and i can move the window over to the other screen.</div><div style="font-size:large">(i did not try but i assume Form.Move() will use a negative number)</div><div style="font-size:large"><br></div><div style="font-size:large">even if i have to use X11.MoveWindow at least i can use the fact Screen.X is not zero to detect a secondary monitor to the left.</div><div style="font-size:large"><br></div><div style="font-size:large">It would be great to get better info about another monitor if the primary is on the left though.</div><div style="font-size:large"><br></div><div style="font-size:large">Maybe something like a Screen.TotalWidth or Screen.ExtendedWidth could be something that refers to a larger overall usable display size not just the monitor width? then we can detect a secondary on the right as well.<br></div><div style="font-size:large"><br></div><div style="font-size:large">Respects</div><div style="font-size:large">BruceS</div><div style="font-size:large"><br></div></div></div>
</blockquote></div></div>
</blockquote></div></div>