NumberPresenter - Slider view

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NumberPresenter - Slider view

Ted Bracht-2
Hi all,

I've got some problems using the Slider view (D5) and am not sure whether
it's me or the Slider view.

My model allows a range of integers greater than 0 and up to 2000 inclusive
with a step of 250, so I thought, no problem, I just change the range;
start=250, step=250, stop=2000. However, as soon as I save the view, it gets
reset to 0, 1, 100.

Got it all working by just modifying the model to convert the internal value
to the apparently enforced interval, but it nags me.

And something else, what are those #lineSize and #pageSize aspects? They
don't seem to do much either?

Thanks

Ted


Reply | Threaded
Open this post in threaded view
|

Re: NumberPresenter - Slider view

Ian Bartholomew-9
Ted,

> And something else, what are those #lineSize and #pageSize aspects? They
> don't seem to do much either?

#lineSize is the number of steps that the cursor keys move the thumb.

#pageSize is the number of steps that the page up/down keys, or clicking to
the left or right of the thumb, move the thumb

Ian