Progressbar.bgcolor readwrite


Get or set the Progressbar background color. A nil value means that the Progressbar background color is the default one.

Example

--! luart-extensions import ui -- create a simple Window local win = ui.Window("Progressbar.bgcolor sample") -- create a themed Progessbar local pb = ui.Progressbar(win) pb.themed = false pb:center() -- Changes default Progressbar colors pb.bgcolor = 0x005080 pb.fgcolor = 0xF0A030 pb.position = 50 win:show() -- update user interface repeat ui.update() until not win.visible