Re: NSButton and NSTabView behavior
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