Module controls.trackbar

Trackbar module

Functions

Trackbar:SetMinMax ([min=0[, max=1]]) Sets the minimum and maximum value of the track bar
Trackbar:SetValue (v) Sets the value of the track bar

Tables

Trackbar Trackbar fields.


Functions

Trackbar:SetMinMax ([min=0[, max=1]])
Sets the minimum and maximum value of the track bar

Parameters:

  • min int minimum value (default 0)
  • max int maximum value (why is 1 the default?) (default 1)
Trackbar:SetValue (v)
Sets the value of the track bar

Parameters:

  • v int value of the track abr

Tables

Trackbar
Trackbar fields. Inherits from Control.

Fields:

  • min int minimum value of the Trackbar (default 0)
  • max int maximum value of the Trackbar (default 100)
  • value int value of the Trackbar (default 50)
  • step int step value (default 50)
  • OnChange {func1,fun2,...} function listeners for value change (default {})

See also:

generated by LDoc 1.4.0