I'm using the SliderBar from GWT incubator.. I can't get it to set
value! In the below code the alert pops up but the Slider's value does
not change.
What am i missing?
Thanks.


SLIDER_LIT_MIN = new SliderBar(0.0,10000);
SLIDER_LIT_MIN.setStylePrimaryName("gwt-SliderBar-shell");
SLIDER_LIT_MIN.setWidth("150px");
SLIDER_LIT_MIN.setStepSize(100.0);
SLIDER_LIT_MIN.setCurrentValue(2000.0);
SLIDER_LIT_MIN.setNumTicks(25);
SLIDER_LIT_MIN.setNumLabels(2);
SLIDER_LIT_MIN.addMouseUpHandler(new MouseUpHandler(){
        public void onMouseUp(MouseUpEvent event) {
          double max = SLIDER_LIT_MAX.getValue().doubleValue();
          double min = SLIDER_LIT_MIN.getValue().doubleValue();
          if(min>max){alert("min>max");
SLIDER_LIT_MIN.setCurrentValue(new Float(max),true);}
        }//onKeyUp
});

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to