• 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
disableKeyEquivalentForDefaultButtonCell broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

disableKeyEquivalentForDefaultButtonCell broken?


  • Subject: disableKeyEquivalentForDefaultButtonCell broken?
  • From: email@hidden
  • Date: Wed, 7 Jan 2004 13:16:58 -0800 (PST)

I have modeless dialog window with a default button.
The dialog includes some text fields and controls that
may take over interpretation of the Return key based on
context, defeating its use as the default-button equivalent.

However I'm seeing the window's default button -always-
get clicked by the Return key. I've tried calling the window's
disableKeyEquivalentForDefaultButtonCell
when appropriate, but this didn't fix it. I also tried explicity
clearing the default button's key-equivalent (setting it to @"")
and temporarily setting the window's default button cell to nil.
Even all of these approaches combined do not prevent the
Return key from clicking the default button.

Any ideas? Is disableKeyEquivalentForDefaultButtonCell broken,
or does it only work in sheets?

TIA,
Christopher
_______________________________________________
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.

  • Prev by Date: [ANN] The ListView
  • Next by Date: Re: NSOpenPanel weirdness
  • Previous by thread: [ANN] The ListView
  • Next by thread: C++ std string cleanup?
  • Index(es):
    • Date
    • Thread