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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to