• 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
How to use a custom field editor in a System Pref panel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Cocoa application link, undefined symbols GetMovieNaturalBoundsRect
  • Next by Date: Re: .webloc files and Safari (newbie)
  • Previous by thread: NSDrawer bug?
  • Next by thread: NSDocument with documents being folders
  • Index(es):
    • Date
    • Thread