Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!ragu.berkeley.edu!lippin From: lippin@ragu.berkeley.edu (The Apathist) Newsgroups: comp.sys.mac.programmer Subject: Re: Time setting Control in Control Panel Message-ID: <1990Oct31.023802.6077@agate.berkeley.edu> Date: 31 Oct 90 02:38:02 GMT References: <1990Oct30.171301.3989@ux1.cso.uiuc.edu> Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: lippin@math.berkeley.edu Organization: Authorized Service, Incorporated Lines: 17 Recently resnick@cogsci.uiuc.edu (Pete Resnick) wrote: > I want to implement the time setting feature that appears in >the General cdev; the one where you can toggle the time up and down >and each of the fields gets highlighted appropriately when you click >on them. I don't have code for this, but Apple's made a fair start for you. The time computation is handled by ToggleDate, described in the Script Manager 2.0 docs, available from APDA or on the Developer CD. It also hanldes typing to replace the numbers. Selection and display are up to you. --Tom Lippincott lippin@math.berkeley.edu "Time is time, mon." --William Gibson, _Neuromancer_