Re: NSTableView edit text-field help please?
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.