Re: Getting NSScrollView to ignore scrolling

2011-02-21 Thread Mark Wright
However, as far as I recall, the scroll view is responsible for tiling and drawing the table column headers (and the little corner view). So, it's only a workable solution if you don't want headers over your table columns... On 21 Feb 2011, at 04:10:24, Scott Anguish wrote: although you

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Scott Anguish
although you have a solution, I’ll mention... You don’t HAVE to have a table view within a scroll view. There are situations in the system that are the case (sidebar in Finder, threads in mail). It’s just the normal case. On Feb 20, 2011, at 4:27 PM, Andrew Shamel wrote: > Hurrah! It was as

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Andy Lee
On Feb 20, 2011, at 3:44 AM, Quincey Morris wrote: > For completeness, [...] In the spirit of completeness, I should mention that because of my particular situation I don't have to think about handling arrow keys or the page up/down keys. The other Andy (the OP) might care about handling these k

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Andrew Shamel
Hurrah! It was as easy as this: - (void)scrollWheel:(NSEvent *)theEvent { [[self nextResponder] scrollWheel:theEvent]; } Thanks, y'all! — andy On Feb 19, 2011, at 4:48 PM, Quincey Morris wrote: > On Feb 19, 2011, at 16:25, Peter Lübke wrote: > >>> My question is this: how do I get t

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Quincey Morris
On Feb 20, 2011, at 00:17, Andy Lee wrote: > On Feb 19, 2011, at 7:48 PM, Quincey Morris wrote: > >> I think the only way to fix this is to override the appropriate >> 'scrollWheel:' event method, and to pass the event on up the responder chain. > > I have the same requirement as the OP: a scr

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Andy Lee
On Feb 19, 2011, at 7:48 PM, Quincey Morris wrote: > On Feb 19, 2011, at 16:25, Peter Lübke wrote: > >>> My question is this: how do I get the scroll view to ignore scrolling >>> messages? The tables/scrollviews are sitting on views that are part of a >>> homebrew collection view, and the scro

Re: Getting NSScrollView to ignore scrolling

2011-02-19 Thread Quincey Morris
On Feb 19, 2011, at 16:25, Peter Lübke wrote: >> My question is this: how do I get the scroll view to ignore scrolling >> messages? The tables/scrollviews are sitting on views that are part of a >> homebrew collection view, and the scrolling "catches" on them, even though >> there's no scrolli

Re: Getting NSScrollView to ignore scrolling

2011-02-19 Thread Peter Lübke
HI All, I have a NSTableView/NSScrollView setup that I've configured automatically to resize to contain the content of the table. This may sound silly, but I don't want scrolling behavior, but NSTableView seems to be designed to be inside a NSScrollView. My question is this: how do I get

Getting NSScrollView to ignore scrolling

2011-02-19 Thread Andrew Shamel
HI All, I have a NSTableView/NSScrollView setup that I've configured automatically to resize to contain the content of the table. This may sound silly, but I don't want scrolling behavior, but NSTableView seems to be designed to be inside a NSScrollView. My question is this: how do I get th