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

NSButton and NSTabView behavior


  • Subject: NSButton and NSTabView behavior
  • From: Dave Budde <email@hidden>
  • Date: Thu, 7 Sep 2006 11:54:21 -0700

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.

Thanks in advance for any insight.

Dave
_______________________________________________
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


  • Follow-Ups:
    • Re: NSButton and NSTabView behavior
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: CoreData issue
  • Next by Date: Re: Changing dock icon on the fly a lot = molasses?
  • Previous by thread: Re: NSControl in NSTextView
  • Next by thread: Re: NSButton and NSTabView behavior
  • Index(es):
    • Date
    • Thread