2 Replies Latest reply: Apr 9, 2012 9:50 AM by Uday Kumar RSS

    can we have always some values selected in slider object?

    Uday Kumar

      Hi,

       

      i have a scenario like,

      i have listbox with month,quarter,half year, and a year in that as values.

      slider will have 72months data. lilke jan 2006, feb 2006 ...... dec 2011

      if i select month, then slider should point to some month by default.

      if i select quarter, then slider should show 3months range by default and the range should be fixed, user should not be able to change the range to 4months or something like that.

      if i select half year, then slider should show 6months range by default.

      if i select year, then slider should show 1year range by default.

      Is it possible to do this in slider?

        • can we have always some values selected in slider object?
          Miguel Angel Baeyens de Arce

          Hi,

           

          Yes, I'd do that using actions in text objects or buttons and variables, so when you click on Month the current month is selected, or when you click on Week, the current week is selected. What is happening behind the curtain is that the button has an action that modifies a value in a variable that is in turn displayed in the slider, and plays with the min and max values in the slider.

           

          You can have several slider objects and make them visible / hide, depending on the values selected by the user.

           

          Miguel