RE: XForms: Progress Bar using scrollbar?

Chip Sutton (chip@cs-net.com)
Thu, 21 Oct 1999 15:10:25 -0400

# To subscribers of the xforms list from "Chip Sutton" <chip@cs-net.com> :

I have done this with a slider (FL_HOR_FILL_SLIDER). I create the slider
object, set the value to 0 after creating the object (fl_set_slider_value)
and also set the upper bound (fl_set_slider_bounds). I then increment the
progress bar by changing the value periodically.

Chip

> -----Original Message-----
> From: owner-xforms@bob.usuhs.mil [mailto:owner-xforms@bob.usuhs.mil]On
> Behalf Of David J. Singer
> Sent: Thursday, October 21, 1999 12:13 PM
> To: XForms List
> Subject: XForms: Progress Bar using scrollbar?
>
>
> # 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/
>

_________________________________________________
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/