Morning Cocoa-Dev,
I need a scrolling number box type object for my GUI. At the moment I
am subclassing NSTextField and overriding mouse and scroll wheel
events so a user can drag the numeric value up/down. This seems a bit
clumsy somehow.
Perhaps a better idea would be a custom view that sits invisibly above
an NSTextField taking mouse events and passing the numeric value to
the text field via setFloatValue messages.
Any comments? I'm sure a few people must have made something similar
- I'm surprised there isn't a standard Cocoa object like this already.
Thanks,
Stephen
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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 arch...@mail-archive.com