Re: NSMatrix Question...
Re: NSMatrix Question...
- Subject: Re: NSMatrix Question...
- From: Stephen Norum <email@hidden>
- Date: Wed, 30 Jun 2004 15:47:18 -0600
On Jun 29, 2004, at 9:34 PM, Jerry LeVan wrote:
I have an NSMatrix of subclassed NSImageCells. The matrix is
setup in radiobutton mode so my action will be called when
a cell is clicked.
Is there any way I can keep the selected cell highlighted when
clicking on the rascal?
You could change your NSImageCells to NSButtonCells, then by setting up
the NSMatrix as an NSRadioModeMatrix, it should handle the highlighting
for you.
In the awakeFromNib:
[theNSMatrix setMode:NSRadioModeMatrix];
It might be less work.
Stephen Norum
email@hidden
_______________________________________________
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.