• 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: [SOLVED] NSButton alternate image problem - not redrawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] NSButton alternate image problem - not redrawing


  • Subject: Re: [SOLVED] NSButton alternate image problem - not redrawing
  • From: P Teeson <email@hidden>
  • Date: Sat, 19 Jul 2008 09:25:11 -0400

But the correct solution is:
[cell0 setAlternateImage:theBlankImage]; // send messages via IBOutlet
[cell0 setState:NSOffState]; // Added this line
[cell0 setEnabled:YES];

Because it's a Toggle button and was in the ON state after being clicked.

We can learn something every day if we're not very careful.

respect.....

Peter
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: NSButton alternate image problem - not redrawing (From: P Teeson <email@hidden>)
 >Re: [SOLVED] NSButton alternate image problem - not redrawing (From: P Teeson <email@hidden>)

  • Prev by Date: Re: WebView load background color.
  • Next by Date: Re: substitute class at runtime?
  • Previous by thread: Re: [SOLVED] NSButton alternate image problem - not redrawing
  • Next by thread: Need to enable automatic login
  • Index(es):
    • Date
    • Thread