• 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
Re: NSTableView edit text-field help please?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView edit text-field help please?


  • Subject: Re: NSTableView edit text-field help please?
  • From: Gore <email@hidden>
  • Date: Wed, 23 Jan 2002 21:27:34 +0200

YEEEEEHAAAAA !!!

thx thx thx, and thx again!

this really helped me, I've been spending time on this damn problem in 2 days and you made it stop =), hehe, weird that the method I was looking for was in NSWindow ! I've been looking in almost all other classes eheh. Well, anyway, is it ok if I add you as "Special Thx"-guy in the about box =) ?

On Wednesday, January 23, 2002, at 09:17 , Ryan Dingman wrote:


Take a look at -[NSWindow endEditingFor:]. This is the method you need.

[mainListWindow endEditingFor:mainList];

Hope this helps.

ryan

On Wednesday, January 23, 2002, at 10:34 AM, Gore wrote:

I have a NSTableView that is using text cells...and I want to be able to edit and end the edit of a cell programaticaly, I know how to start the edit, it's like this:

[mainList editColumn: [mainList columnWithIdentifier: @"name"] row: [mainList selectedRow] withEvent: nil select: YES];

but I don't know how to end it, please please please help me, I've been looking around in the docs and everywhere and tryed lots of crazy stuff but nothing worked !

I've found a function for NSCell, endEditing:(NSText*)textObj, but how do I use that because where should I get that text controller from ?!?!
_______________________________________________
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.


  • Follow-Ups:
    • Re: NSTableView edit text-field help please?
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: Re: NSString drawInRect clipping control
  • Next by Date: Re: Checkbox in NSTableView
  • Previous by thread: NSTableView edit text-field help please?
  • Next by thread: Re: NSTableView edit text-field help please?
  • Index(es):
    • Date
    • Thread