Re: How to create a self-contained custom control

2010-05-20 Thread Jérôme Rosat
Thank you David for the precision. Jérôme Le 19 mai 2010 à 21:47, David Bovill a écrit : The whole point of a behavior is that it works for multiple objects (in your case a group) and acts a bit like a library for that group - so you can copy and paste the group where you want and all the

Re: How to create a self-contained custom control

2010-05-20 Thread Richard Gaskin
Jérôme Rosat wrote: I created a custom control. I set the behavior of the group (the custom control) to a button script (I want no script in the group). If I copy the custom control in a new stack, i need to copy the button script too, or the stack that contains the button script as a

Re: How to create a self-contained custom control

2010-05-19 Thread Jérôme Rosat
Stephen, Thank you for the suggestion. I tried. But it doesn't work as I wish it. Jérôme Le 18 mai 2010 à 23:38, stephen barncard a écrit : Nested Groups? On 18 May 2010 13:36, Jérôme Rosat jro...@mac.com wrote: I created a custom control. I set the behavior of the group (the custom

Re: How to create a self-contained custom control

2010-05-19 Thread David Bovill
The whole point of a behavior is that it works for multiple objects (in your case a group) and acts a bit like a library for that group - so you can copy and paste the group where you want and all the copies will point to and use the same behavior script. If you want to put the script inside the

How to create a self-contained custom control

2010-05-18 Thread Jérôme Rosat
I created a custom control. I set the behavior of the group (the custom control) to a button script (I want no script in the group). If I copy the custom control in a new stack, i need to copy the button script too, or the stack that contains the button script as a substack of a new stack.

Re: How to create a self-contained custom control

2010-05-18 Thread stephen barncard
Nested Groups? On 18 May 2010 13:36, Jérôme Rosat jro...@mac.com wrote: I created a custom control. I set the behavior of the group (the custom control) to a button script (I want no script in the group). If I copy the custom control in a new stack, i need to copy the button script too, or