0 Replies Latest reply on Apr 25, 2007 10:20 AM by GMina

    HSlider used for time/ranges

      I have an app that needs to program open/close hours. So far I have a HSlider that starts at 0 and ends at 86400 (seconds in a day). I can easily convert the second value to a standard date time value, so all works great as long as I only want standard open/close functionality. i.e open 8AM close 5PM.

      The problem I am running into is being able to have multiple open/close events in a single day. ie. open 8AM-1PM and 2PM-5PM. This can be accomplished with setting the thumbCount=4, but what I can't figure out is how to make the highlight work properly between thumb 1 and 2 and 3 and 4 with non-highlighted space between 2 and 3.

      Anyone have any insight here? I have looked extensively through the Slider.as file and haven't been able to reverse engineer to the point of fully understanding what's going on.