• 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
"Default" button is not accepting returns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Default" button is not accepting returns


  • Subject: "Default" button is not accepting returns
  • From: John Stiles <email@hidden>
  • Date: Mon, 8 Sep 2003 16:03:37 -0700

I have an app that uses one main window and a few sheets. (I stuck everything into one nib because it was convenient to do so, and there isn't so much stuff that anyone would complain about loading delays or anything... I don't know if that is related to my bug or not, but I mention it in case this helps anyone identify the problem.)

Anyway, when one of my sheets appears, it has a glowing blue OK button, because I set its key-equivalent to Return (\r). However, the Return key doesn't activate the button. What's weirder still--if I resize the sheet, the OK button stops glowing and just becomes a solid blue color.

I have another sheet in the nib where the Return key works fine and the glowing stays normal, and I can't really see an obvious difference between the two cases.

I must be doing something goofy, but I don't know what. What might cause this behavior?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: "Default" button is not accepting returns
      • From: John Stiles <email@hidden>
References: 
 >a problem to show a dialog box in finder (From: "WYON Vincent" <email@hidden>)

  • Prev by Date: Drag image questions
  • Next by Date: Possible Delegate Problem
  • Previous by thread: a problem to show a dialog box in finder
  • Next by thread: Re: "Default" button is not accepting returns
  • Index(es):
    • Date
    • Thread