calling a remote function..
J. Landman Gay
jacque at hyperactivesw.com
Fri Jan 19 12:58:50 EST 2007
Ken Ray wrote:
> On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote:
>> Ding ding. You win the prize.
>>
>> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")
>
> Boy, I long for the simplicity that SuperCard uses to do this kind of
> thing. They have a "via" keyword that lets you point to the object who
> should be processing the function. In SuperCard, this would be:
>
> answer foo(param1,param2) via btn "bar"
The cheap hack is:
insert script of <object> into back
answer foo(param1,param2)
remove script of <object> from back
I've had to do this a couple of times and it works fine. Easy too.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list