disableKeyEquivalentForDefaultButtonCell broken?
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.