"Default" button is not accepting returns
"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.