Thanks Very Much Sean.
Just 2 Questions, Where do I put the Code? and How will the method know when a
Row is Added?
Cheers,
Josh.
From: Sean McBride s...@rogue-research.com
To: Joshua Garnham joshua.garn...@yahoo.co.uk; cocoa-dev@lists.apple.com
Sent: Thursday,
I have an NSOutlineView and what I want to happen is that when a row is
added I want the row that has been added to Start Editing immediately
like when you double click on a row.
Cheers,
Josh.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On 8/27/09 4:42 PM, Joshua Garnham said:
I have an NSOutlineView and what I want to happen is that when a row is
added I want the row that has been added to Start Editing immediately
like when you double click on a row.
@implementation NSTableView (RRExtra)
-
Hi There,
I have an NSOutlineView and what I want to happen is that when a row is
added I want the row that has been added to Start Editing immediately
like when you double click on a row.
I have had a go using the code below (but as I'm not that Confident with Cocoa)
it did not work.
-
On Aug 19, 2009, at 10:30 AM, Joshua Garnham wrote:
I have an NSOutlineView and what I want to happen is that when a row
is added I want the row that has been added to Start Editing
immediately
like when you double click on a row.
...
- (IBAction)add:(id)sender {
[treeController add:@New
Hi There,
I have an NSOutlineView and what I want to happen is that when a row is
added I want the row that has been added to Start Editing immediately
like when you double click on a row.
I have had a go using the code below (but as I'm not that Confident with Cocoa)
it did not work.
-
On Wed, Aug 19, 2009 at 10:31 AM, Joshua
Garnhamjoshua.garn...@yahoo.co.uk wrote:
The line - [outlineView rowForItem:(id)@New Item];
Is supposed to give the row number of the added row to the next line
If you believe this to be the case, you need to go back over the
language basics. This