mouseUp: not called in NSTableView subclass when mouseDown: is overridden
mouseUp: not called in NSTableView subclass when mouseDown: is overridden
- Subject: mouseUp: not called in NSTableView subclass when mouseDown: is overridden
- From: cricket <email@hidden>
- Date: Sun, 9 May 2004 15:29:59 -0700
If I create an NSView subclass, and override mouseDown: and mouseUp: as
follows, I receive both NSLogs when I click in the view:
- (void)mouseDown:(NSEvent *)theEvent {
NSLog(@"mousedown");
[super mouseDown:theEvent];
}
- (void)mouseUp:(NSEvent *)theEvent {
NSLog(@"mouseup");
[super mouseUp:theEvent];
}
However, if I create an NSTableView subclass, and override these same
two methods, I only get the NSLog for the mouseDown: call. Anyone know
why this is? I can't find anything in the documentation to explain
this.
- cricket
---------->
http://www.holemusic.com/speech/
_______________________________________________
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.