Jump to content

How to change each gradient on a "gradient fill" slider


orko

Recommended Posts

Posted
I found an example named "Example-Alarm Slide Control" from LV8.

I've gone over this example and the "Example-Slide Fill Color" example, which are very good at explaining how to change the fill color based on an input value. Searching around though I haven't yet found an example of how to change each gradient on a "gradient fill" slider to make a multi-colored slider. Something like this:

post-3266-1142269443.jpg?width=400

...where the colors would stay constant as the slider moved up and down exposing blue/green/red indicators, similar to how a real meter with individual LED indicators would appear on a dashboard.

I have a feeling I'm going to be developing some sort of boolean cluster with three arrays and a numeric (for the digital display) in it, but is there a simpler/better way of doing this with a slide?

Thanks for any input,

Joe (orko)

Posted
How about something like this that takes advantage of multiple sliders?

Ask and ye shall receive

Norman,

Now that's what I call "slick"! I was trying to get multiple sliders to work (I had a much more complicated solution in mind), but the thought of comparing the individual sliders to a set "maximum" from a cluster constant, and outputing the "minimum" of the two was what I was missing. This concept will come in handy elsewhere...

THANK YOU VERY MUCH! My eyes are open now. :worship:

Joe (orko)

Posted
My eyes are open now. :worship:

...and now they've slammed shut, and refuse to open until I promise not to look at that freaky pic again!

<shudder>

Joe (orko)

  • 4 weeks later...
Posted

Your so funny.

Ok, I know I've spent too much time on the forum, now I really need to get back to do some real meaning making thing. But, just one more question, so you can control your eye balls separately? :)

Have a nice day.

Irene

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.