• 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: automatic table scrolling when nsarraycontroller selection changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: automatic table scrolling when nsarraycontroller selection changes
      • From: Matt Neuburg <email@hidden>
References: 
 >automatic table scrolling when nsarraycontroller selection changes (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Thread ID in crash log
  • Next by Date: Re: The Ages Old __MyCompanyName__ Question
  • Previous by thread: automatic table scrolling when nsarraycontroller selection changes
  • Next by thread: Re: automatic table scrolling when nsarraycontroller selection changes
  • Index(es):
    • Date
    • Thread