Bug in NSClipView/NSScrollView?
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.