Current tick mark index of NSSlider?
Current tick mark index of NSSlider?
- Subject: Current tick mark index of NSSlider?
- From: Glen Simmons <email@hidden>
- Date: Mon, 20 Dec 2004 16:04:08 -0600
So there's a -tickMarkValueAtIndex: method to get from tick mark to
actual value, but there's no -tickMarkIndexForValue: for going the
other way. I need to know which tick mark my slider is set to. The only
way i see of doing it is iterating through the tick marks and comparing
the result of -tickMarkValueAtIndex: against the current value, which
seems a bit inefficient. Am I missing something?
Thanks,
Glen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden