• 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: [NSDrawer] Why isn't my default button blue+pulsing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSDrawer] Why isn't my default button blue+pulsing?


  • Subject: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • From: Julian <email@hidden>
  • Date: Sun, 5 Jun 2005 05:36:46 -0400

Well, because the NSDrawer's owner retains key, which is the problem.

~Julian

On Jun 5, 2005, at 5:07 AM, Frédéric BLANC wrote:

   Hi All,


I don't succeed in getting a default button (i.e., an NSButton instance whose the key equivalent has been set in IB with the '\R' — or Return — value) pulsing when located in a drawer; it's not even displayed in blue… Is it normal behaviour (maybe due to the drawer)? Or have I something to add in my code to get this result? Note: I've re-read the corresponding sections in the Apple HIG document w/o finding any relevant info :( ! (Abstract: "A drawer can contain any control that is appropriate to its intended use.") I also didn't manage to find something in the "cocoa-dev" archives.

To help you help me :) I've built a simple project to showcase the problem:
[Cocoa-ObjC] http://blanc.free.fr/pub/temp/ DefaultButtonInDrawerObjC.zip
[Cocoa-Java] http://blanc.free.fr/pub/temp/ DefaultButtonInDrawerJava.zip
In IB, my sole text field has a key equiv. set; but the button is
neither blue, nor pulsing. Moving it from the drawer to the main
window obviously restores those behaviours…


Thx in advance for any help on this new minor issue I'm experiencing,


-- — Frederic BLANC (email@hidden) _______________________________________________ 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

_______________________________________________ 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: [NSDrawer] Why isn't my default button blue+pulsing?
      • From: Frédéric BLANC <email@hidden>
References: 
 >[NSDrawer] Why isn't my default button blue+pulsing? (From: Frédéric BLANC <email@hidden>)

  • Prev by Date: NSSegmentedControl discrepancies between 10.3 and 10.4
  • Next by Date: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • Previous by thread: [NSDrawer] Why isn't my default button blue+pulsing?
  • Next by thread: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • Index(es):
    • Date
    • Thread