• 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: changing the highlighting mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing the highlighting mode


  • Subject: Re: changing the highlighting mode
  • From: Martin Wilz <email@hidden>
  • Date: Mon, 18 Apr 2005 14:24:55 +0200

Hi Jeff,

It was not entirely clear to me, what exactly you want to achieve with your
matrix. I'll try to give a few pointers anyway:

Perhaps you should consider the use of the setMode: Method.

Otherwise you can always override the cell type with a custom class, if
the standard cells do not meet your needs with setPrototype:. The cell can be
retrieved with cellFrameAtRow:column: After that you can call any
methods on the cell.

On 4/17/05, Jeff Childers <email@hidden> wrote:
> I have a button matrix. I set it to radio mode in IB for deselection
> and when a button is pressed I use
>
> [tileContainer setState:NSOnState
>         atRow:[tileContainer selectedRow]
>         column:[tileContainer selectedColumn]];
>
> which doesn't work.
> How do I change the button matrix so the buttons toggle instead of
> momentary highight?
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
 _______________________________________________
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

References: 
 >changing the highlighting mode (From: Jeff Childers <email@hidden>)

  • Prev by Date: Re: NSTableView vs. NSUserDefaults
  • Next by Date: Re: NSBezierPath Glypths
  • Previous by thread: changing the highlighting mode
  • Next by thread: setValue vs setObject (NSMutableDictionary)
  • Index(es):
    • Date
    • Thread