On 2019-05-24 18:08, Paul Dupuis via use-livecode wrote:
I discovered today that opening a stack changes its set rect (at least
under Windows 10 in LC904/905rc1 when opening a stack invisible
See this little gem: https://quality.livecode.com/show_bug.cgi?id=22097
Not a problem is you are just popping up windows and then setting
their positions, but if, for some reason, you want to precisely place
windows (like we do) and then open them, this is a pain in the rear!
Opening a window/stack should not change its rect!
I'd point out here that the stack's *rect* is not being changed... It's
effective rect is changing - this is a very different thing (the
effective rect is only calculable after the system window object has
been created).
Given that the stack is being opened as invisible, then surely you can
just open it invisible, then check its effective rect?
Warmest Regards,
Mark.
P.S. A stack keeps its system window when closed unless the
'destroyWindow' property is set; if the latter is set to true, then
closing the stack will cause its system window to be destroyed.
--
Mark Waddingham ~ [email protected] ~ http://www.livecode.com/
LiveCode: Everyone can create apps
_______________________________________________
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