How to use a custom field editor in a System Pref panel?
How to use a custom field editor in a System Pref panel?
- Subject: How to use a custom field editor in a System Pref panel?
- From: Dave Camp <email@hidden>
- Date: Mon, 8 Dec 2003 11:43:09 -0800
I'm working on a pref panel for the System Preferences. I've got a
table view with a subclass of the standard NSTextFieldCell used in one
of the columns. I need to implement some custom functionality for
editWithFrame:inView:editor:delegate:event:, but that never seems to be
called in my subclass. The rest of my cell's methods are called for
other stuff, so I know the cell is installed properly, so I'm assuming
that inline text editing is being handled by the parent Window's field
editor, not my cell.
The docs indicate this can normally be fixed by having the parent
window's delegate supply a custom field editor for
windowWillReturnFieldEditor:toObject:. However, this isn't my window,
and I'm certainly not the delegate for the System Preferences window.
What is the best way to solve this?
Thanks,
Dave
---
In English, every word can be verbed.
_______________________________________________
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.