Re: no mouseUp if mouseDown not overridden?
Re: no mouseUp if mouseDown not overridden?
- Subject: Re: no mouseUp if mouseDown not overridden?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 22 Aug 2005 21:29:15 +0200
On lundi, août 22, 2005, at 09:15 PM, Luc Vandal wrote:
Hi,
how come I can't get the mouseUp event if I don't handle mouseDown in
a NSTextView? If I do handle mouseDown and use [super mouseDown:] then
I'll never get the mouseUp event but if I just have an empty mouseDown
then I'll get the mouseUp event.
I don't need to do anything with the mouseDown, all I want to use is
mouseUp to get the selection. I can't see myself re-implementing
mouseDown just so I can use mouseUp!
Is there a workaround?
Why not just use the notification:
- (void)textViewDidChangeSelection:(NSNotification *)aNotification;
?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden