NSMatrix: subclassing to allow multiple selections in Radio Mode
NSMatrix: subclassing to allow multiple selections in Radio Mode
- Subject: NSMatrix: subclassing to allow multiple selections in Radio Mode
- From: Wilhelm Phillips <email@hidden>
- Date: Tue, 5 Apr 2005 19:54:48 -0700
Is there a simple way to combine qualities of two different NSMatrix
selection modes by subclassing NSMatrix?
I like the mouseDown, mouseUp, allowsEmptySeletion, selectedCell
behavior from NSRadioModeMatrix, but I need the ability to select
multiple cells as in NSListModeMatrix.
Would this require subclassing NSMatrix or would I have to subclass
NSControl and write my own custom matrix class?
In the first case, would it be possible to override the mouseUp event
to handle modifier keys and thus multiple selections?
Subclassing NSControl seems like a lot of work just to add multiple
selection.
Has anyone combined these qualities or have any suggestions as to the
most efficient direction to go in?
Thanks,
Will
_______________________________________________
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