How to create a self-contained custom control

Jérôme Rosat jrosat at mac.com
Thu May 20 14:44:48 EDT 2010


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 copies will point to and use
> the same behavior script. If you want to put the script inside the group and
> don't mind having multiple copies of the script for each groupd you copy -
> then you can - basically don;t use a behavior and just put the behavior
> script in the groups script. There is no way to have both.
> 
> On 19 May 2010 20:33, Jérôme Rosat <jrosat at mac.com> wrote:
> 
>> 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 <jrosat at 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 the stack that contains the button script as a substack
>> of a
>>>> new stack.
>>>> 
>>>> How to make a self-contained custom control that I can simply copy and
>> past
>>>> where I want ? I tried to put the button script inside the group, but it
>>>> doesn't work. If I copy the custom control in a new card, the behavior
>> of
>>>> the group still point to the "previous" card.
>>>> 
>>>> Any idea ? Thank you for your help.
>>>> 
>>>> Jérôme
>>>> Genève_______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> -------------------------
>>> Stephen Barncard
>>> Back home in SF
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list