• 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: Steve <email@hidden>
  • Date: Mon, 25 Nov 2002 19:30:38 +0000

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?

Steve


On Monday, November 25, 2002, at 04:26 PM, Clark S. Cox III wrote:


On Monday, Nov 25, 2002, at 11:03 US/Eastern, Steve wrote:

Hi,

Upon clicking on an NSButton (or NSButtonCell from a NSMatrix) I need to switch another button off. Easy enough -- but because my 'on' method takes a second or so to execute some tricky code, there is an annoying delay before the button I've set 'off' redisplays.
I've looked through the documentation, but couldn't find a 'force immediate redisplay' method.

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.

  • Follow-Ups:
    • Re: Instantly re-display buttons?
      • From: Andreas Mayer <email@hidden>
    • Re: Instantly re-display buttons?
      • From: "Clark S. Cox III" <email@hidden>
References: 
 >Re: Instantly re-display buttons? (From: "Clark S. Cox III" <email@hidden>)

  • Prev by Date: Complex Types and WebServicesCore
  • Next by Date: Re: Weird coder problem
  • Previous by thread: Re: Instantly re-display buttons?
  • Next by thread: Re: Instantly re-display buttons?
  • Index(es):
    • Date
    • Thread