The handler you probably need to look at is in card 1002 (index) called setBackground (line 104). The effective working screenrect is going to report device pixels. To actually know the relative rect from the card’s perspective you have to translate to the card coordinates. I may not have used the most efficient method, but you should be able to follow it.
Thanks, Brian Sent from my iPhone > On Aug 10, 2022, at 12:08 PM, Klaus major-k via use-livecode > <[email protected]> wrote: > > Hi Bob, > >> Am 10.08.2022 um 18:04 schrieb Bob Sneidar via use-livecode >> <[email protected]>: >> >> Wait, there is a more effectiver working screenrect than the effective one?? >> ;-P > > yes, but it is R-rated! 8-) > >> Bob S >> >>>> On Aug 10, 2022, at 08:44 , Klaus major-k via use-livecode >>>> <[email protected]> wrote: >>> ah, yes, "the effectiver working screenrect"! 8-) > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > [email protected] > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
