• 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: NSComboBox initialFirstResponder and nextKeyView Outlets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox initialFirstResponder and nextKeyView Outlets


  • Subject: Re: NSComboBox initialFirstResponder and nextKeyView Outlets
  • From: CHIMPO <email@hidden>
  • Date: Wed, 13 Mar 2002 12:17:21 -0700

I was kind of able to get it to work by making the combo box editable, but
I don't want it to be editable. I want a user to be able to use the tab
key to tab through all of the various input items in the gui and enter all
of the information without using a mouse. For example, in MFC under
Windows, I can create an uneditable combo box that a user can tab to and
press the down arrow key to select one of the items in the list. I have
not been able to do that in Cocoa as of yet. Any help would be great. If
it is not possible to do this, I would be severly disappointed.

Scott


> In IB, combo boxes appear to have three relevant attributes:
editable,> selectable, and enabled. My guess is that you want to change
one or two> of those attributes; perhaps you want it to be enabled and
selectable,> but not editable? From your description I'm not sure exactly
what> you're trying to do, though, so that's about as much advice as I can
> give.
> The doc should tell you the methods to set these attributes, if you
> can't use IB for some reason. Note the attributes might only be
> accessible via a superclass method, or via a method on a cell kept by
> the control. Finding the method that does what you want for an
> NSControl subclass that uses a cell to draw is always a bit of an
> adventure. :->
>
> Ben Haller
> Stick Software
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSComboBox initialFirstResponder and nextKeyView Outlets
      • From: Stephen Magyari <email@hidden>
  • Prev by Date: RE: [OT] Cocoa Programming Book
  • Next by Date: dealloc and Instances created from IB
  • Previous by thread: Re: NSComboBox initialFirstResponder and nextKeyView Outlets
  • Next by thread: Re: NSComboBox initialFirstResponder and nextKeyView Outlets
  • Index(es):
    • Date
    • Thread