Re: comboBox menu choice validation
Re: comboBox menu choice validation
- Subject: Re: comboBox menu choice validation
- From: Marten van Gelderen <email@hidden>
- Date: Thu, 19 Feb 2004 17:39:28 +0100
OK, I understand that, but like it or not even Apple's own menu items
are sometimes grayed out. When used sparingly and in more or less
"standard" menu's with know layout I do not find that too distressing.
(For instance: under the Edit menu Cut & Copy are grayed out when
nothing is selected).
In my case you are probably right in insisting that all combo menu
items be functional or non existent. I will look into that.
However, I would still like to know how to prevent a comboBox to loose
its firstResponder status when an invalid choice is made from the menu
list. "Invalid", that is, according to my own ideas as implemented in
-(BOOL)control:(NSControl *)control textShouldEndEditing:(NSText
*)textObject which, as said, works fine for keyboard input.
On 19 Feb 2004, at 3:57 PM, Phillip Mills wrote:
On Thursday 19 February 2004 09:00, Marten van Gelderen wrote:
So what you are saying is that comboBox menu items ("under" the box)
should either be grayed-out (if that were possible) or always be
functional/valid.
Yes, preferably the second of those options since that's what most
users would
expect, I think.
--
Groeten, Marten
_______________________________________________
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.