bottom of card off screen, but bottom < item 4 of screenloc

J. Landman Gay jacque at hyperactivesw.com
Sat Apr 11 16:23:03 EDT 2015


On 4/11/2015 1:59 PM, Dr. Hawkins wrote:
> I'm scratching my head here.  Am I missing something obvious (again), or is
> something off kilter here?
>
> The bottom of a stack is off the screen. Yet "the bottom of stack out4"
> yields 1111 (which should be on screen; this is a 27" iMac!), while the
> "working screenRect" is 0,22,2560,1436 (which appears correct).
>
> (this is from code trying to keep new stacks on screen)
>

If you're in the IDE, it could be the windowBoundingRect. LC sets that 
on startup to a smaller area than your screen to accomodate its palettes 
and other tools. It won't happen in your standalone.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list