Re: MouseUp in OutlineView
Re: MouseUp in OutlineView
- Subject: Re: MouseUp in OutlineView
- From: Andreas Mayer <email@hidden>
- Date: Tue, 3 Apr 2007 19:33:08 +0200
Am 03.04.2007 um 18:58 Uhr schrieb Stefan Heukamp:
I want to get the mouseUp events to start line editing on a single
click (like e.g in iTunes). My idea was to start line editing on
the mouseUp when the line was selected before, the mouseDown was at
most 1 second before the mouseUp and the mouse didn't move in that
time (much).
Does anybody have an idea on how to get this working?
On mouseDown: you could start a one second timer. In the method
called by the timer check the current mouse state (button down,
position). You might want to add some additional code to make sure
you don't capture double clicks etc.
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden