Re: [GREAT]NSScroller trackKnob

2010-11-18 Thread koko
Thanks to all, Graham too! All aspects work just fine. -koko On Nov 18, 2010, at 9:24 PM, k...@highrolls.net wrote: Yes, my action is being called. So, I must find the part and if line or page figure my scroll amount and then set the knob. Thx, -koko On Nov 18, 2010, at 9:09 PM, Graham

Re: [GREAT]NSScroller trackKnob

2010-11-18 Thread koko
Yes, my action is being called. So, I must find the part and if line or page figure my scroll amount and then set the knob. Thx, -koko On Nov 18, 2010, at 9:09 PM, Graham Cox wrote: On 19/11/2010, at 3:05 PM, Graham Cox wrote: The usual MO is to set the range of the scroller to the tot

Re: [GREAT]NSScroller trackKnob

2010-11-18 Thread Graham Cox
On 19/11/2010, at 3:05 PM, Graham Cox wrote: > The usual MO is to set the range of the scroller to the total height of the > view to be scrolled, less the height of the frame through which it is viewed. > You change the value of the scroller to the amount you want to scroll, > typically one li

Re: [GREAT]NSScroller trackKnob

2010-11-18 Thread Graham Cox
On 19/11/2010, at 2:51 PM, k...@highrolls.net wrote: > Next question ... how do I get called for the buttons (line up down) and the > page up down? You should be called for all of the parts of the scroller. You can call -hitPart to find out which part of the control was hit. (I just found thi

Re: [GREAT]NSScroller trackKnob

2010-11-18 Thread koko
Works great ... thanks ! Next question ... how do I get called for the buttons (line up down) and the page up down? -koko On Nov 18, 2010, at 8:39 PM, Graham Cox wrote: On 19/11/2010, at 2:30 PM, k...@highrolls.net wrote: Should the action look like this: - (void)action:(id)sender;