myScroller = widget.newScrollView { top = 35, left = 0, width = screenW, height = screenH - 100, scrollWidth = 600, scrollHeight = 800, listener = scrollListener, hideBackground = false, backgroundColor = { 0.4, 0.4, 0.4 } -grey } myScroller.backgroundColor = { 1.0, 0.6, 0.1 } --(yellowish) not working
Does anyone know how to set backgroundColor of the scrollView? I searched the forums everyone using images, I don’t want to use Image I just want to change background color of scrollView when button is clicked.
Example:
If I click Red button, then myScroller.backgroundColor = { 1,0,0}
If I click Green Button then myScroller.backgroundColor = {0,1,0}
Regards
Ali