Re: disabling NSButton?
Re: disabling NSButton?
- Subject: Re: disabling NSButton?
- From: "Kevin Dixon" <email@hidden>
- Date: Fri, 21 Mar 2008 14:46:26 -0400 (EDT)
- Importance: Normal
Actually, I already solved this problem.
I needed to call [uiButton displayIfNeeded] instead of setNeedsDisplay
to get it to update for some reason. thanks all
-Kevin
> On Wed, Mar 19, 2008 at 3:32 PM, Kevin Dixon <email@hidden> wrote:
>
>> Hi,
>>
>> I have two buttons, of the Round Textured Button variety. When I try to
>> disable them, I do
>>
>> [uiButton setEnabled:NO];
>> [uiButton setNeedsDisplay:YES];
>>
>> However, the button appears normal (eg enabled) but doesn't click. What
>> am
>> I doing wrong here?
>>
>> -Kevin
>>
_______________________________________________
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