Re: Case insensitive autocomplete
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