enum SLIDER_UPDATE { realtime, release, none, } function slider(_min, _max, _step, _onModify = noone, _onRelease = noone) { return new textBox( TEXTBOX_INPUT.number, _onModify ) .setSlideRange(_min, _max) .setOnRelease(_onRelease); }