XForms: Progress Bar using scrollbar?

David J. Singer (doc@jaunte.freeserve.co.uk)
Thu, 21 Oct 1999 17:12:48 +0100

# To subscribers of the xforms list from "David J. Singer" <doc@jaunte.freeserve.co.uk> :

Hi all.

I've been trying to create a "progress bar" to indicate the progress
of a given task. As far as I can tell, the only simple way to do this
in XForms is to use a slider which has it's position fixed at the
leftmost side and it's length set to zero. It is then only a matter
of incrementing the slider's length value from 0 to 1 in
steps of 1/loop_size.

The problem is, and I admit it's a bit of a trivial one :), that when the
slider's length is set to 0 it does not *actually* draw a zero length
slider. It seems the slider has a minimum size. Hence my progress
bar won't start from zero, but always seems to start from about 10%.

Is there a better way of doing this?

--
David J. Singer
doc@jaunte.freeserve.co.uk
 "Time flies like an arrow, fruit flies like a banana"
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil   or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/