• 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
NSTextFieldCell derivate and editing (editWithFrame)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextFieldCell derivate and editing (editWithFrame)


  • Subject: NSTextFieldCell derivate and editing (editWithFrame)
  • From: Michael Tyson <email@hidden>
  • Date: Tue, 17 Jul 2007 18:17:01 +1000

Hi!

I've made a combined image/text/subtitle/emblem cell for use in an NSOutlineView. I made an IB palette for it, and added it to the outline view in IB. Editable is set in the relevant places, and I have a data source which returns YES in shouldEditTableColumn; it also has a setObjectValue method.

When I double-click on an item in the list to begin editing it, nothing happens; I have a function

- (void)editWithFrame:(NSRect) aRect inView:(NSView *) controlView editor:(NSText *) textObj delegate:(id) anObject event:(NSEvent *) theEvent;

Within which I've put a breakpoint. It never gets called! selectWithFrame: seems to get called on double-click, but it never appears to reach editWithFrame.

Is there something I'm missing?  How do I get an editable cell?

Thanks!

Mike


-- Michael Tyson | michael.tyson.id.au

m: (+61) 0407 754 124
e: email@hidden
aim: mikerusselltyson

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Preference application
  • Next by Date: Re: Getting an NSAttributedString from NSData/NSTextView using Core Data
  • Previous by thread: Re: How to loop until kill command sent?
  • Next by thread: RS: "buttons view"
  • Index(es):
    • Date
    • Thread