Re: NSScroller
Re: NSScroller
- Subject: Re: NSScroller
- From: Graham Cox <email@hidden>
- Date: Fri, 8 Jan 2010 15:04:21 +1100
On 08/01/2010, at 2:52 PM, David Blanton wrote:
> Is there an 'easy' way to get NSScroller events in an NSDocument app?
>
> I would like to know where the knob is.
The knob's position is just the -floatValue (or -intValue) of the scroller control.
What are you trying to do? NSDocument is not part of the 'view' layer of MVC so it's unclear how the two are related. If you want to send an action in response to a scroller just hook it up to an action method. However, scrollers are not a good control to use when you really mean e.g. a slider.
--Graham
_______________________________________________
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
References: | |
| >NSScroller (From: David Blanton <email@hidden>) |