Re: Cocoa-dev Digest, Vol 2, Issue 1205Re: ComboBox Questions
Re: Cocoa-dev Digest, Vol 2, Issue 1205Re: ComboBox Questions
- Subject: Re: Cocoa-dev Digest, Vol 2, Issue 1205Re: ComboBox Questions
- From: John Bishop <email@hidden>
- Date: Fri, 5 Aug 2005 10:25:26 -0500
SA Dev <email@hidden> said:
>Mike:
>
> Probably the biggest problem you're having with not finding
>anything in the archives is that there is no such thing as
>"NSComboBox". I take it that you're coming from the Windows world (OS
>X calls it a "popup"). The control you want to research is an
>NSPopUpButton.
Huh??? You mean the NSComboBox I'm using so nicely (a subclass of
NSTextField) is just a fiction of my Window-less imagination? The combo box
may be the only decent UI invention worth having from Windows. And
auto-completion is just the cat's pajamas - just ask any user!
As for programmatically opening ("popping down") the combo box... why? If you
just need a list from which a user can select, use a single-selection
NSTableView. Lots of combo boxes (those designed to contain things the user
"kinda" knows about but doesn't want to type the whole thing) NEVER get popped
up... they just get typed in. And if you change the response to backspace,
your user will have a terrible time entering text that's ALMOST like (except
for some trailing characters) something already there! They get used to the
backspace REMOVING the highlighted auto-completion stuff - you'd have the only
combo box UI that didn't do that! It would be very confusing. FWIW.
------------------------------------------------------------------
John Bishop <mailto:email@hidden>
Mulligan Software <http://www.mulligansoftware.com>
Mulligan's Golf Personal - Stats & Handicapping for the Mac Golfer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden