using a number box to set a slider value AND display it?
I haven't been able to figure out how to do this. I want to use a range slider and have 2 number boxes that display the high and low range of the slider, but can also set the values. When I tried it the way I thought it would work, Max crashed on me. =[
I am using Max 4.6. Someone please let me know how to do this, or paste the patch text so I can open it and figure it out.
Thank you!
Mike
do you mean rslider?
On Jun 12, 2008, at 9:10 PM, mike wrote:
> I haven't been able to figure out how to do this.
Here's one way:
Chris Muir
cbm@well.com
http://www.xfade.com
always other ways to do it.
Wow! Thank all of you for your help!
I think your method is probably the simplest and quickest to implement into my patch, Chris. It's pure and simple - just using prepends as the middle man. Nice!
Thanks again, guys. I'd be pulling out even more of my hair if it weren't for all of the helpful users on this site.
Mike
Once again, Chris and I think alike; our
solutions are *almost* exactly alike.
The "teaching moment" here is twofold: first,
the use of the "set" message to set the
number box values without outputting
a value, and - secondly - the notion that
you need to grab any outputs you actually
use somewhere else from something *other*
than the number box connected to the set
message [connect your imaginary destination
number boxes to the two number boxes in
the patch instead of tapping off the
rslider object and honk around with
the rslider and the number box to see why
this is what you need to do. Should become
obvious].
Generally speaking, the "set" message is used
all over the place in Max to change the
value sent to a "hot" inlet of a Max object
WITHOUT triggering any output or calculation.
Along with trigger, it's one of your friends
as a beginning user.