• 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
Bug in NSClipView/NSScrollView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in NSClipView/NSScrollView?


  • Subject: Bug in NSClipView/NSScrollView?
  • From: Drew McCormack <email@hidden>
  • Date: Sun, 25 May 2003 19:58:49 +0200

I want to programmatically scroll an NSScrollView, which contains an NSTableView. The docs seem to indicate that the way to do this is use the scrollToPoint: method of NSClipView. (Note that the scrolling methods of NSTableView are not what i need here.)

I have done this, and it seems to work, except that the NSScroller is not positioned correctly. It is always returned to the top position. The document is correctly positioned in the scroll view.

I am making this call straight after a call to reloadData of the NSTableView. Could this be the problem? Is the scroller being reset by some asynchronous action of the data reload.

In any case, is this a bug, and does anyone know how to get around it?

Drew

----------------------------------
Dr. Drew McCormack
Trade Strategist (www.trade-strategist.com)
Stock Market strategy design platform for Mac OS X.
_______________________________________________
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.

  • Prev by Date: Parameter-Problem while calling AppleScript from Cocoa
  • Next by Date: Re: 10.2 Quartz over OpenGL? (window shadow on underlay?)
  • Previous by thread: Parameter-Problem while calling AppleScript from Cocoa
  • Next by thread: Re: Bug in NSClipView/NSScrollView?
  • Index(es):
    • Date
    • Thread