Ken, That was it. I actually wanted to pass several parameters and forgot to include graphMe.
It works now. Thanks. Bill Vlahos 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 > (should > it have been "plotChart graphMe" ?). > > Ken Ray > Sons of Thunder Software > Email: [EMAIL PROTECTED] > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Bill Vlahos" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > 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 >> <snip> >> >> 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 >> [EMAIL PROTECTED] >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution