RE: automatic table scrolling when nsarraycontroller selection changes
RE: automatic table scrolling when nsarraycontroller selection changes
- Subject: RE: automatic table scrolling when nsarraycontroller selection changes
- From: <email@hidden>
- Date: Thu, 18 Dec 2008 01:10:49 +0530
- Thread-topic: automatic table scrolling when nsarraycontroller selection changes
[tableviewoutlet scrollRowToVisible:yourselectedrow] should solve your
problem
-----Original Message-----
From:
cocoa-dev-bounces+rajendran_pichaimurthy=email@hidden
[mailto:cocoa-dev-bounces+rajendran_pichaimurthy=email@hidden.
com] On Behalf Of Matt Neuburg
Sent: Thursday, December 18, 2008 1:00 AM
To: email@hidden
Subject: automatic table scrolling when nsarraycontroller selection
changes
My app is very simple and involves an NSTableView of one column bound to
an array controller. The app runs both on Tiger and Leopard. On Tiger,
when my code changes the array controller selection (e.g. add: or
setSelectionIndex:), the table scrolls so that the selection shows. On
Leopard, it doesn't. Is there some new setting I can use to get the
Tiger behavior to happen on Leopard? Thx - m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/> A
fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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:
40mcafee.com
This email sent to email@hidden
_______________________________________________
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