Skip to content

Controlling the maximium range value when programming a slider

Question

I would like to control the range of my slider wheel in my CCL program code. I also want to set the number of slider increments, so I am trying to use the "realfix" option in the graphwin_sliderassign(gsa) command. But I found that OSLO chooses a different value for the maximum range depending on what I choose my initial value to be. Why is this?

Synopsis

Controlling the maximum range value when programming a slider

Solution

The graphwin_sliderassign(gsa) command is used to set up the maximum_slider_value, the minimum_slider_value and the initial_slider_value. When the value_type option is set to "realfix", the user is also able to define the number of increments (count_or_column) the slider moves from maximum_slider_value to minimum_slider_value. This works well when the initial_slider_value is