Skip navigation.
 
mlRe: Instantly re-display buttons?
FROM : Clark S. Cox III
DATE : Mon Nov 25 20:43:40 2002

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlInstantly re-display buttons? Steve Nov 25, 17:03
mlRe: Instantly re-display buttons? Clark S. Cox III Nov 25, 17:26
mlRe: Instantly re-display buttons? Steve Nov 25, 20:30
mlRe: Instantly re-display buttons? Clark S. Cox III Nov 25, 20:43
mlRe: Instantly re-display buttons? Andreas Mayer Nov 26, 20:09