Great, thanks a lot.
Seems working fine.
You have 2 monitors faced horizontally, left is primary.
I will test more facing monitor with different resolutions.
I will add those new features for the next thinBasic beta release.
Code will be something like the following, maybe I will go deeper with Resolution and WorkArea
long nMonitor
printl "-----------------------------------------------"
printl "Monitor count :", app.monitor.Count
printl "-----------------------------------------------"
for nMonitor = 1 to app.monitor.Count
printl "Monitor", nMonitor, "info" in %CCOLOR_FLIGHTCYAN
printl " is primary:", app.monitor(nMonitor).IsPrimary
printl " Resolution:", app.monitor(nMonitor).Resolution
printl " WorkArea :", app.monitor(nMonitor).WorkArea
Next
Bookmarks