• 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
Re: comboBox menu choice validation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >comboBox menu choice validation (From: Marten van Gelderen <email@hidden>)
 >Re: comboBox menu choice validation (From: Phillip Mills <email@hidden>)
 >Re: comboBox menu choice validation (From: Marten van Gelderen <email@hidden>)

  • Prev by Date: Waiting for a program to launch
  • Next by Date: Re: Waiting for a program to launch
  • Previous by thread: Re: comboBox menu choice validation
  • Next by thread: A 'small' NSMenu
  • Index(es):
    • Date
    • Thread