Mouse Events on NSMatrix and NSButtonCells
Mouse Events on NSMatrix and NSButtonCells
- Subject: Mouse Events on NSMatrix and NSButtonCells
- From: Richard Salvatierra <email@hidden>
- Date: Mon, 13 Jun 2005 17:13:55 -0400
I want to create a matrix full of buttons that can be reordered:
I have a subclass of NSMatrix with NSButtonCells generated on the fly where I set the Action and Target for each cell. When a buttonCell is clicked, the selector method executes properly. I want a separate function when the mouse is dragged over the buttonCell. I have - (void)mouseDragged:(NSEvent *)event in my NSmatrix subclass but that will only work if I also have - (void)mouseDown: (NSEvent *) event When the mouseDown is present, the buttonCell action seems to be overridden.
Any suggestions. Thanks, Rich |
_______________________________________________
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