MouseUp in OutlineView
MouseUp in OutlineView
- Subject: MouseUp in OutlineView
- From: Stefan Heukamp <email@hidden>
- Date: Tue, 03 Apr 2007 18:58:04 +0200
Hi,
I have a problem getting the MouseUp-Event in an outline view. If I
override mouseDown and mouseUp only with logging, I get both events.
But since I want to have DragAndDrop and LineSelection, I call in
mouseDown the [super mouseDown:] function. Since I do that, I get
still all those mouseDown events. But if I click on a row this is
selected and I do not get the corresponding mouseUp events. If I
click on a the outlineview where no row is, I get both events event
when calling [super mouseDown:].
Is this a bug or should it work like this? If it should work like
this is there any other possibility to get the mouseUp events?
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?
Thanks in advance,
Stefan
_______________________________________________
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