You might try something like:

int row = [a indexOfObjectIdenticalTo:p];

[tableView editColumn:0 row:row withEvent:nil select:YES];

a = your array controller/arrary
p = object added

This sample from Hillegass' book, "Cocoa Programming for Mac OS X Third Edition."

Good Luck!

Peace, Love, and Light,

/s/ Jon C. Munson II

Quoting vince <[EMAIL PROTECTED]>:

Thanks for the help ...
I'm using an Array Controller's Add method wired to a button to enable text
data entries into a table. How do I set the table to activate it's top row
when pressing the Add button in preparation for input? At this point if the
table contains many rows of data and the user clicks the Add button the
table's lowest row activates.  The user is forced to scroll down to the very
bottom of the table prior to entry

Thanks again.

vince
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/jmunson%40his.com

This email sent to [EMAIL PROTECTED]




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to