Type Number Library widget.* Revision Release 2024.3703 Keywords widget, stepper, increment, decrement, StepperWidget, maximumValue See also object.minimumValue object.value widget.newStepper() StepperWidget
A read-only property that represents the maximum value of the StepperWidget.
-- Handle stepper events local function onPress( event ) print( "Stepper's maximum value is:", event.maximumValue ) print( "Stepper's current value is:", event.value ) end -- Create a default stepper local stepper = widget.newStepper { left = 140, top = 235, initialValue = 0, minimumValue = 0, maximumValue = 50, onPress = onPress }