overriding a function

Peter Haworth pete at lcsql.com
Wed Jun 24 17:09:45 EDT 2015


Sorry, that should be  - dispatch function "getlist" to <theotherobject>

On Wed, Jun 24, 2015 at 1:43 PM Peter Haworth <pete at lcsql.com> wrote:

> Right, wasn't sure about that, hence the "?" at the end :-)
>
> I tried this as a front script and it works.
>
> function getList
>    remove the script of <frontscriptobject> from front
>    dispatch "getList" to <theotherobject>
>    --do whatever with the reult
>    insert the script of <frontscriptobject> into front
> end getList
>
> Feels a bit kludgy though.
>
> Pete
>
> On Wed, Jun 24, 2015 at 12:41 PM David Bovill <david at viral.academy> wrote:
>
>> That would get trapped by the Front Script
>> On Wed, 24 Jun 2015 at 15:43, Peter Haworth <pete at lcsql.com> wrote:
>>
>> > Maybe dispatch getlist to wherever it exists in the IDE stacks?
>> >
>> > On Wed, Jun 24, 2015, 2:29 AM Monte Goulding <
>> monte at sweattechnologies.com>
>> > wrote:
>> >
>> > > Thanks Dick I wasn't expecting a solution! Very creative!
>> > >
>> > > Sent from my iPhone
>> > >
>> > > > On 24 Jun 2015, at 6:50 pm, Dick Kriesel <dick.kriesel at mail.com>
>> > wrote:
>> > > >
>> > > > It works for me.  Does it work for you?
>> > >
>> > > _______________________________________________
>> > > use-livecode mailing list
>> > > use-livecode at lists.runrev.com
>> > > Please visit this url to subscribe, unsubscribe and manage your
>> > > subscription preferences:
>> > > http://lists.runrev.com/mailman/listinfo/use-livecode
>> > >
>> > _______________________________________________
>> > use-livecode mailing list
>> > use-livecode at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>



More information about the use-livecode mailing list