Set the layer

René Micout rene.micout at numericable.com
Mon Oct 15 14:16:32 EDT 2012


Thank you Richard,
but I have skirted my problem... with hide and show some controls rather than change their layers...
René

Le 15 oct. 2012 à 20:01, Richard Gaskin <ambassador at fourthworld.com> a écrit :

> René Micout wrote:
> 
>> I have a stack with several groups, in one group I have a button named "btnStepper". There is 126 controls.
>> My "btnStepper" have layer 124. When I type in the Message box :
>> 
>> set the layer of btn "btnStepper" to 123
>> 
>> I have this message error :
>> "Script compile error:
>> Error description: request: error in message expression"
>> 
>> I don't understand... Have somebody an explanation ?
> 
> This is just a hunch, and I don't know why this would cause a compile error rather than an execution error, but if those objects are within groups you may need (with great caution) to set the relayerGroupedControls property to true before performing the relayering of its members.
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter:  http://twitter.com/FourthWorldSys
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list