2 hours ago · Tech · 0 comments

I blogged about how and where Delphi stores the desktop settings before. Back then I described the values as percentages of “the monitor” without being precise about which monitor and exactly which area. Since then I have nailed down the details. This applies to at least Delphi 12. The “percentage” values given in the file, like this … [Main Window] Left=-25271 Top=-6205 Width=12089 Height=18462 …, are 1/10000 of the primary monitor’s work area. Not its full resolution, and not relative to the monitor the window is actually on. The work area is the screen area minus the taskbar. If your displays have different resolutions, this can be confusing, because the stored numbers are normalized to the primary monitor regardless of where the window actually lives. My setup looks like this: The main (primary) display has a resolution of 1920×1200 pixels. There is a secondary display with a resolution of 3840×2160 pixels. The high resolution display is placed to the left of my main display,…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.