Skip navigation.
 
mlRe: disabling NSButton?
FROM : Ken Ferry
DATE : Wed Mar 19 22:11:50 2008

That style of button does not have disabled art for its bezel.
Disabled should be shown in the content, text or images.

Check iCal.  When the current day is selected, the Today button at the
top left is disabled, but this is only shown by dimming the word
'Today'.

-Ken

On Wed, Mar 19, 2008 at 12:32 PM, Kevin Dixon <<email_removed>> 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_removed>)
>
>  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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
>  This email sent to <email_removed>
>

Related mailsAuthorDate
mldisabling NSButton? Kevin Dixon Mar 19, 20:32
mlRe: disabling NSButton? Ken Ferry Mar 19, 22:11
mlRe: disabling NSButton? Kevin Dixon Mar 20, 14:31
mlRe: disabling NSButton? Rob Napier Mar 21, 16:50
mlRe: disabling NSButton? Kevin Dixon Mar 21, 19:46
mlRe: disabling NSButton? Kyle Sluder Mar 22, 01:32
mlRe: disabling NSButton? Kevin Dixon Mar 22, 10:44