Thanks Dar. That is exactly what I did. I guess I was expecting the effective 
working rect of a screen to be the area within which a window could be fully 
displayed accounting for all the accoutrements. (That's French you know. :-)

Bob S


> On Jun 26, 2019, at 15:04 , Dar Scott Consulting via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> The effective rect of the stack is the absolute rect of the window including 
> the title, all of the borders (where there are any) and and the decorations. 
> Thus, the top will be (say) 22 pixels less than the rect of the stack.
> 
> You can subtract the upper left of the working screenRect from either to get 
> a rectangle within the working area. (Don't forget that the dock might be on 
> the left.)
> 
> Slightly related: If the window is over the IDE toolbar, the rect and 
> effective rect of the stack are off by the height of the tool bar. It seems 
> to have assumed that it shifted the window to be below it.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to