Help Contents / GUI programming / ChoiceBoxes / ChoiceBoxSetBackgroundColor

ChoiceBoxSetBackgroundColor achoicebox color

Command to set the background color of the ChoiceBox achoicebox to the color color. 

color must be a valid color, see also setPenColor! 

Example: 

	cb=(ChoiceBox [][MyChoiceBox] 
	[	[String 1] 
		[and a second string] 
		[and the last string] 
	] 
	[	(show "|MyChoiceBox| ChoiceBoxSelection) 
	]) 
	ChoiceBoxSetBackgroundColor cb "red 


previous: ChoiceBoxCount	next: ChoiceBoxSetColor
