Set Layer bug?
Richard Gaskin
ambassador at fourthworld.com
Tue Mar 28 18:44:36 EDT 2017
Dan Friedman wwrote:
> Is this a bug or am I losing my mind? Can anyone confirm?
>
> Using LC 9.0.0 DP-6, set the layer of any object to anything and it
> always get’s set to the topmost layer. To repeat, put three buttons
> on a card: “button1”, “button2” and “button3”. The, put this in the
> stack script:
>
> on mouseUp
> set the layer of the target to 2
> set the label of btn "button1" to the layer of btn "button1"
> set the label of btn "button2" to the layer of btn "button2"
> set the label of btn "button3" to the layer of btn "button3"
> end mouseUp
>
> You’ll see that any button you click, always get’s set to layer 3,
> even though you’ve set it to 2.
Confirmed, and differs from the oldest version on my drive, 6.0, where
the result is what you'd expect.
I'd call it a bug. Please post the report link so we can follow its
progress.
Thanks -
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list