Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!portal!cup.portal.com!Lou From: Lou@cup.portal.com (William Joseph Marriott) Newsgroups: comp.sys.mac.hypercard Subject: Re: MouseClick Bug in HyperCard 2.0.2 (Claris) Message-ID: <39416@cup.portal.com> Date: 19 Feb 91 07:33:57 GMT References: <11428@jpl-devvax.JPL.NASA.GOV> <39289@cup.portal.com> Distribution: na Organization: The Portal System (TM) Lines: 44 David Mittman writes: > I input this handler from Claris' "HyperCard Script Language Guide", > page 282: > > on mouseUp > put "Click or don't click..." > wait 5 seconds > if the mouseClick then > put "You clicked." > else > put "You didn't click." > end if > end mouseUp > > (In a button on the Home card). It always returns "Your clicked." even > when I don't click. Also, the statement "wait until the mouse is down" > never seems to wait. Anyone else see this? System Configuration: > > Macintosh II 5 MB, System 6.0.5, several inits, including Ed (Not), > and Disinfectant INIT. > > - David I tried this on my copy of HyperCard and had appropriate results. When I clicked, it said I clicked. When I didn't click, it said I did not click. Perhaps you are double-clicking the button? Try clicking just once. Try this alternative and tell me what happens: on mouseLeave put "Click or don't click..." wait 5 seconds if the mouseClick then put "You clicked." else put "You didn't click." end if end mouseLeave -Bill Marriott Lou@cup.portal.com