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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
