• 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: disable animation of default button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disable animation of default button


  • Subject: Re: disable animation of default button
  • From: Lee Ann Rucker <email@hidden>
  • Date: Wed, 13 Oct 2010 18:26:17 -0700
  • Acceptlanguage: en-US
  • Thread-topic: disable animation of default button

Try a different bezel. Any of the other push button styles should work fine (gradient, textured, etc) if you're doing your own drawing.


On Oct 13, 2010, at 4:22 PM, Georg Seifert wrote:

> Hi,
>
> I have a subclass of NSButton. The bezel style is set to "Push". If the button has the return key equivalent and becoming the default button (drawn blue) the "- (void) drawBezelWithFrame:(NSRect)cellFrame inView:(NSView *)controlView method gets called over end over again. In the standard implementation this makes the button pulse.
>
> I want to disable this for my subclass but can’t find the case of the redraw.
>
> Regards
> Georg S
>
>
> _______________________________________________
>
> 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

_______________________________________________

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

References: 
 >disable animation of default button (From: Georg Seifert <email@hidden>)

  • Prev by Date: UIButton variations?
  • Next by Date: iPhone/iPad device orientation problems
  • Previous by thread: disable animation of default button
  • Next by thread: The dreaded "UITableView won't refresh" problem: SOLVED.
  • Index(es):
    • Date
    • Thread