Re: Accessor called once, fires twice
Re: Accessor called once, fires twice
- Subject: Re: Accessor called once, fires twice
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 20 Feb 2002 12:22:04 -0800
On Wednesday, February 20, 2002, at 01:42 AM, Bill Cheeseman wrote:
on 02-02-19 5:38 PM, Bill Cheeseman at email@hidden wrote:
All of a sudden, my "set" accessor logs
the new value TWICE when I click on the slider.
A night's sleep brought understanding. These are continuous sliders.
Apparently it is not possible to click quickly enough nor hold
the mouse
still enough to avoid firing a continuous slider's action method twice.
I wonder why that is.
It's probably firing on both the mousedown and the mouseup events.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.