Re: Custom Field Editors
Re: Custom Field Editors
- Subject: Re: Custom Field Editors
- From: Matt Neuburg <email@hidden>
- Date: Mon, 02 Aug 2004 12:21:02 -0700
On Mon, 2 Aug 2004 20:13:27 +0300, Andrew <email@hidden> said:
>
Hi,
>
>
I am trying to use a custom field editor for my cell but am having
>
difficulties. I've tried to make a simple app to isolate the problem.
>
>
I have one window with an NSTableView in it with one column. The cells
>
it uses are of the type MyTextFieldCell which inherits from
>
NSTextFieldCell. MyTextFieldCell has a class method fieldEditor...
I've never done this with a textfieldcell in a tableview, but I've often
supplied a custom field editor for a textfield control, and my approach,
which works fine, is completely different from what you're doing - I
implement windowWillReturnFieldEditor in the window delegate. (I apologize
for not knowing if this will work in your situation, but you should be able
to find that out quickly enough.) m.
--
matt neuburg, phd = email@hidden, <
http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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.