• 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: Instantly re-display buttons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instantly re-display buttons?


  • Subject: Re: Instantly re-display buttons?
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Mon, 25 Nov 2002 14:43:40 -0500

On Monday, Nov 25, 2002, at 14:30 US/Eastern, Steve wrote:

Unfortunately accessing a button as part of a NSMatrix returns an NSButtonCell, which does not recognize displayIfNeeded.
I wish I could get NSMatrix to return an NSButton, as I seem to be maintaining two lots of code depending if I'm working with a collection of buttons, or individual single ones. Not very OO?

Try this:
[[someCell controlView] displayIfNeeded]
_______________________________________________
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: 
 >Re: Instantly re-display buttons? (From: Steve <email@hidden>)

  • Prev by Date: Re: Weird coder problem
  • Next by Date: NSPreferencePane, saving on unselect
  • Previous by thread: Re: Instantly re-display buttons?
  • Next by thread: Re: Instantly re-display buttons?
  • Index(es):
    • Date
    • Thread