• 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: NSButton and NSTabView behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton and NSTabView behavior


  • Subject: Re: NSButton and NSTabView behavior
  • From: Ricky Sharp <email@hidden>
  • Date: Thu, 7 Sep 2006 14:03:26 -0500


On Sep 7, 2006, at 1:54 PM, Dave Budde wrote:

When I change an NSButton state (setup to be an On/Off button type) using something like [(NSButton *)button setState: 1] the button display does not reflect the actual state of the button. If I look at the state in the debugger or look at the response of what the button is supposed to do, it responds correctly, but the display of the button state is not accurate. How does one get the button to redraw itself so that it reflects its current state?

Same thing for NSTabView. When I set a tab using selectFirstTabItem, the index changes as I would expect but the display of the tabView is not updated to reflect which tab is selected.

Are you returning control to the run loop after you're making your changes? Also, from where in your code are you making the changes?


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSButton and NSTabView behavior (From: Dave Budde <email@hidden>)

  • Prev by Date: Re: Changing dock icon on the fly a lot = molasses?
  • Next by Date: Drag and Drop Webview Editing
  • Previous by thread: NSButton and NSTabView behavior
  • Next by thread: Drag and Drop Webview Editing
  • Index(es):
    • Date
    • Thread