🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #14081

Double Click

#14081
From: Dave Lowrey
Date: Wed, 07 Mar 1990 19:53
20 lines
1193 bytes
I can find no "standard" coding technique to handle "double clicking"
of a gadget.

My guess would be:
   o When a gadget is selected, start a timer
   o If the next "select" msg isn't the same gadget, then cancel the
     timer, and (perhaps) de-select the original gadget.
   o If the timer elapses, then we won't have a double click.
   o If the user selects our gadget before the timer runs out, then
     consider that a double click.

Is there any sample code, on a fish disk, that uses "double clicking"?

What is the "best" value to use when timing a double click?

-- 
"This ain't Rock 'N Roll, |  These be my words, not my employer's!
 this is Genocide!"       |Dave Lowrey - Amdahl Corp. - Houston, TX
 David Bowie -            |In Texas:  {moray,uhnix1}!starsoft!david
"Daimond Dogs"            |The World: dwl10@uts.amdahl.com (amdahl!dwl10)
Technical Details
Message-ID: <79yO02zd8fMp01@amdahl.uts.amdahl.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!amdahl!dwl10

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!amdahl!dwl10
From: dwl10@uts.amdahl.com (Dave Lowrey)
Newsgroups: comp.sys.amiga.tech
Subject: Double Click
Message-ID: <79yO02zd8fMp01@amdahl.uts.amdahl.com>
Date: 7 Mar 90 19:53:32 GMT
Organization: Amdahl Corporation, Houston TX
Lines: 20