• 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
NSMatrix Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix Question...


  • Subject: NSMatrix Question...
  • From: Jerry LeVan <email@hidden>
  • Date: Tue, 29 Jun 2004 23:34:34 -0400

Hi,

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.

I want to keep track of which cell is the selected cell by
highlighting the cell. ( I use setHighlighted:YES)

If I select cells under program control, the cells highlight
nicely.

If I select a cell by clicking on the rascal, the cell highlights
and then @#!& unhighlights. ( my action routine does a setHighlighted:YES)
so it might be the case that the NSMatrix code messes with the
highlighting after the action routine returns....

Is there any way I can keep the selected cell highlighted when
clicking on the rascal?

Jerry
_______________________________________________
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.


  • Follow-Ups:
    • Re: NSMatrix Question...
      • From: "Mark A. Stratman" <email@hidden>
  • Prev by Date: NSCursor category
  • Next by Date: ANN: Excelsior! Path Preview 0.1
  • Previous by thread: Re: NSCursor category
  • Next by thread: Re: NSMatrix Question...
  • Index(es):
    • Date
    • Thread