< ListBox | CodeSamples | TitleFrame >
---% Code tested with Luxinia 0.95 build Nov 15 2006 ---% at 11/16/06 22:46:52 -- create slider at 10,10 slider = Slider:new(10,10,100,16) -- add label to display values tx = Label:new(10,40,100,16) -- react on changes of the slidervalues function slider:onValueChanged(newvalue,oldvalue) tx:setText("\v999"..newvalue) end -- add components to rootcontainer Container.getRootContainer():add(tx) Container.getRootContainer():add(slider)

