Passing parameters to a handler
bvlahos at jpl.nasa.gov
Wed Jul 3 16:17:01 EDT 2002
I can't seem to get passing parameters correctly.
When I execute this cascade button script:
on menuPick graphMe
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
show field "graphpoint"
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?
More information about the Use-livecode