Inheritance in Revolution?

Richard Gaskin ambassador at fourthworld.com
Sat Sep 11 18:00:04 EDT 2004


Arthur Urban wrote:

>>>There is something similar that's been in
>>>discussion and will hopefully be
>>>implemented in the next version (or the one
>>>after that), and it's being
>>>called "parentScripts". Sort of an
>>>object-specific "backscript", you can
>>>assign the script of an object as the
>>>"parentScript" to one or more other
>>>objects. This would allow 25 buttons to use the
>>>same script of its parent.
>>
>>isn't this what a group script for
>>25 grouped buttons should do?
> 
> 
> Sure. But what if your 25 buttons aren't on the same card or the same stack?
> They may still all need the exact same behaviour.

Use a frontscript that differentiates based on a property setting.

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com


More information about the use-livecode mailing list