Re: Instantly re-display buttons?
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.