• 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: Case insensitive autocomplete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Case insensitive autocomplete


  • Subject: Re: Case insensitive autocomplete
  • From: Nicko van Someren <email@hidden>
  • Date: Wed, 23 Mar 2005 23:28:22 +0000

On 23 Mar 2005, at 21:14, Vince DeMarco wrote:

On Mar 23, 2005, at 12:13 PM, Nicko van Someren wrote:

On 23 Mar 2005, at 19:04, Vince DeMarco wrote:

On Mar 23, 2005, at 10:17 AM, Nicko van Someren wrote:

On 23 Mar 2005, at 18:05, Vince DeMarco wrote:

Interface builder doesn't let you set a custom class for a cell used by NSComboBox, but it does let you set the custom class for a matrix. So the no code way of doing this is to drag in a combo box and alt drag to make it a matrix of 1x2 then set the custom class of the first cell to MyComboCell, the make it a 1x1 matrix (only one item)

The problem is that that doesn't work. The cell does the "right thing" but since the control is a matrix of cells and not an actual NSComboBox the menu does not work.

What menu?? the context menu??

The menu of selectable items that drops down from the Combo Box when you click on the downward arrow that sits at the right hand end of the text entry field. If you simply put an NSComboBoxCell into an NSMatrix the menu won't drop down when you click at the end of the field.

This works perfectly for me. I don't see this problem at all. Since its part of the API that you can have a matrix of ComboBoxes, if this doesn't work for you then please file a bug.

I tried it again from scratch without any extraneous sub-class code and it still fails. If I stick a simple NSComboBox on a window and give it three items to pick from then it shows a menu. If I put down an NSComboBox, alt-drag it out into a matrix, revert the matrix to 1x1, double-click to get the cell settings, give the NSComboBoxCell three items to pick, select "completes" and then run that that menu does not come up, but the completion still works so I know that it knows the list of items.


It's too late for me to file a bug but I'll do it in the morning.

	Nicko

_______________________________________________
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


References: 
 >Case insensitive autocomplete (From: Ian was here <email@hidden>)
 >Re: Case insensitive autocomplete (From: Nicko van Someren <email@hidden>)
 >Re: Case insensitive autocomplete (From: Vince DeMarco <email@hidden>)
 >Re: Case insensitive autocomplete (From: Nicko van Someren <email@hidden>)
 >Re: Case insensitive autocomplete (From: Vince DeMarco <email@hidden>)
 >Re: Case insensitive autocomplete (From: Nicko van Someren <email@hidden>)
 >Re: Case insensitive autocomplete (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: Random image problem has me stumped :(
  • Next by Date: Re: Infinite loop in NSScanner
  • Previous by thread: Re: Case insensitive autocomplete
  • Next by thread: Re: Case insensitive autocomplete
  • Index(es):
    • Date
    • Thread