Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
- Subject: Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
- From: glenn andreas <email@hidden>
- Date: Thu, 6 Jan 2005 19:09:38 -0600
On Jan 6, 2005, at 5:30 PM, Jake Macmullin wrote:
I'm just getting back in to Cocoa after a bit of a hiatus - and I'm
still quite new to Objective-C, so please regard my questions in that
light.
I'd like to customise the behaviour of an NSTextFieldCell that I'm
using in an NSTableView. Basically, I want to do two things:
1). provide my own set of suggestions when complete: is called
2). call complete: after each key-stroke in the cell
This sounds a whole lot like a NSComboBoxCell - perhaps that might work
better? After all, it already is a subclass of NSTextFieldCell, and
effectively provides a list of things which can be used to complete the
list (though the delegate methods to provide that list are normally
used when NSComboBoxCell is in an NSComboBoxControl, and not embedded
in an NSTableViewColumn - but you can always subclass NSComboBoxCell).
Glenn Andreas email@hidden
<http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
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