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


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 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.

If this control is something you might want to use elsewhere, it may be 
worth taking a few seconds to create a new stack to hold the button with 
the behavior script.  That way you can use that stack with any project 
you need, and the behavior will always resolve correctly.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


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


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. 

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


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