Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!cooldude From: cooldude@jessica.stanford.edu (Imran Qureshi) Newsgroups: comp.sys.mac.programmer Subject: Check for Double click Message-ID: <1991Jun2.202417.16981@leland.Stanford.EDU> Date: 2 Jun 91 20:24:17 GMT Sender: news@leland.Stanford.EDU (Mr News) Organization: Academic Information Resources Lines: 21 This may be a pretty silly question but I couldn't find the exact answer in the UseNet guide. I am using TCL 4.0.5. I wanna distinguish between a double click, a single click and a click & drag. I wrote the following code to check for double click. This is called by the DoClick method of the Pane. ---------------------------------------------------------------- Boolean IfDoubleClick() { while ((gLastMouseDown.when-gLastMouseUp.when)