gui.setComponentBackgroundColor
Fils the background of a component with an RGB color.
Prototype
bOk = gui.setComponentBackgroundColor ( hComponent, nRed, nGreen, nBlue )
Parameters
hComponent - valid GUI component handle
nRed - color component number 0..255
nGreen - color component number 0..255
nBlue - color component number 0..255
Return values
bOk - true if successful
Sample
gui.setComponentBackgroundColor ( hPlatformButton, 44, 44, 44 ) gui.setComponentBorderStyle ( hPlatformButton, 0x0400, false, false, false, true )
Available since ShiVa 2.0