Tags:

Slider

Slider provides a visual representation of a number within a range. Drag the “thumb” along the bar or use the scroll wheel on your mouse. Click on + or - to jump by 10% ; click on the bar to jump directly to that point.


Slider( "SliderField" {; status ; bgColor })


Parameters

1 SliderField Field to change. Must be enclosed in quotes and be the fully-qualified Table Occurrence::FieldName form.
2 status
(opt)
Text or name of a field containing “enabled” (the default), “disabled”, or “hidden”, or a calc which returns one of those 3 values.
3 bgColor
(opt)
Default is white, but you can specify the color: see “Background Color” in the “Basics” section.


Examples:

  • Slider( “Home::MyNumber” ; “enabled” ; “green” )
  • Slider( "Home::Slider"; Home::ButtonStatus )
  • Slider( “Home::Slider” )


Additional Notes:

Like the random() function, this function returns a value between 0 and 1. To display the slider field as a percentage figure, set decimal places to 1 and format the field as a percentage.


Table of Contents