code: function(val, sendUpdatedEvt) {
        
        var v = val;
        if(v < this.options.minValue) {
           v = this.options.minValue;
        }
        if(v > this.options.maxValue) {
           v = this.options.maxValue;
        }
        
        var percent = Math.floor(v-this.options.minValue)*100/this.options.maxValue;
        
        this.slider.setValue(percent);
        
        inputEx.SliderField.superclass.setValue.call(this, val, sendUpdatedEvt);
     }
docs: Function to set the value
  @param {Any} value The new value
  @param {boolean} [sendUpdatedEvt] (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)