Re: no mouseUp if mouseDown not overridden?
Re: no mouseUp if mouseDown not overridden?
- Subject: Re: no mouseUp if mouseDown not overridden?
- From: Luc Vandal <email@hidden>
- Date: Mon, 22 Aug 2005 16:48:44 -0400
Sounds good, but how can I tell if the selection was made but the
user and not with setSelectRange?
Thanks!
Luc
On 22-Aug-05, at 3:29 PM, Stéphane Sudre wrote:
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