• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMatrix Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSMatrix Question... (From: Jerry LeVan <email@hidden>)
 >Re: NSMatrix Question... (From: "Mark A. Stratman" <email@hidden>)
 >Re: NSMatrix Question... (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Re: NSMatrix Question...
  • Next by Date: How read a CrashLog ?
  • Previous by thread: Re: NSMatrix Question...
  • Next by thread: Re: NSMatrix Question...
  • Index(es):
    • Date
    • Thread