Passing parameters to a handler
bvlahos at jpl.nasa.gov
Wed Jul 3 16:56:01 EDT 2002
That was it. I actually wanted to pass several parameters and forgot to
It works now. Thanks.
On Wednesday, July 3, 2002, at 02:31 PM, Ken Ray wrote:
> Bill, what error are you getting?
> Also, note that in the menuPick handler, 'graphMe' isn't being used
> it have been "plotChart graphMe" ?).
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> ----- Original Message -----
> From: "Bill Vlahos" <bvlahos at jpl.nasa.gov>
> To: <use-revolution at lists.runrev.com>
> Sent: Wednesday, July 03, 2002 4:13 PM
> Subject: Passing parameters to a handler
>> I can't seem to get passing parameters correctly.
>> When I execute this cascade button script:
>> on menuPick graphMe
>> plotChart "graph2"
>> end menuPick
>> to the handler in the Card script:
>> on graphClicked n, x, y
>> set the bottomLeft of field "graphpoint" to the mouseLoc
>> put (x - trunc(x)) * 60 into mTime
>> put trunc(y) & " ms @ " & trunc(x) & ":" & trunc(mTime) into
>> field "graphpoint"
>> show field "graphpoint"
>> end graphClicked
>> on plotChart whichGraph --,chartDimentions
>> hide field "graphpoint"
>> hide group whichGraph
>> I get an error relating to the on graphClicked handler. Why does it go
>> there instead of the plotChart handler?
>> Bill Vlahos
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode