screenRect and screenLoc weirdness

Knapp Martin martyknappster at gmail.com
Thu Jan 10 19:16:45 EST 2019


I was merely using that as an example. In my app I too place a toolbar in the topLeft corner of the screen by setting the topLeft of the stack to 0,0. On a single screen setup it works fine. But I've just discovered that on a multi-monitor setup as I've described, the toolbar isn’t even visible it’s so far off. So in this case 0,0 is not the top left corner of the main monitor. How so I arrive at that point? How do I determine the actual middle of the screen? Since I don’t understand all the dynamics of how these things are being determined I have not been able to arrive at a work-around to place things where I’d like them on the screen.

Marty

> On Jan 10, 2019, at 3:56 PM, Monte Goulding via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 
> 
>> On 11 Jan 2019, at 10:41 am, Knapp Martin via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> When I open Livecode on my dual monitor setup where the top of the 2nd monitor is higher than my main monitor, both the Livecode toolbar and the script editor open partially off screen with their title bars inaccessible. I understand that I can type something into the message box to relocate them, but how is this not a bug??
> 
> I didn’t say that wasn’t a bug. That’s an IDE script issue. Most likely a preferences issue. Have you tried resetting or trashing preferences?
> 
> Cheers
> 
> Monte




More information about the use-livecode mailing list