Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SliderItem setValue() method problem

    SmartClient Version: v8.2p_2012-04-18/PowerEdition Deployment (built 2012-04-18)

    I have a SliderItem that I would like to update with a call to slider.setValue(someNumber);

    When I call the setValue() method with a valid value nothing happens. Setting a breakpoint in my development environment and trying several different values yields the same result. The value does not set.

    What can I do to set the value of a SliderItem programmatically?

    Thanks,

    #2
    This would be expected if you called slider.setValue() directly on the Slider being managed by a SliderItem. Call SliderItem.setValue() instead.

    If that's not the problem, please double-check whether you have some other logic - perhaps a change handler - that is immediately resetting the value.

    Comment

    Working...
    X