Skip navigation.
 
mlRe: Instantly re-display buttons?
FROM : Steve
DATE : Mon Nov 25 20:30:38 2002

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_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