Setting the Maximum Value of a Slider Widget
QUESTION: How can I change the maximum (or minimum) value of a slider widget after it is created?
ANSWER: You can change the maximum (or minimum) value of a slider widget after it has been realized by using the Set_Slider_Max (or Set_Slider_Min) keyword to the Widget_Control command:
sliderID = Widget_Slider(tlb, Value=50, Min=0, Max=100) Widget_Control, sliderID, Set_Slider_Max=200 Widget_Control, sliderID, Set_Slider_Min=50 Widget_Control, slider, Set_Value=75
Copyright © 1997-1999 David W. Fanning
Last Updated 3 November 1999