Help Contents / GUI programming / ChoiceBoxes / ChoiceBoxSetColor

ChoiceBoxSetColor achoicebox color

Command to set the foreground 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) 
	]) 
	ChoiceBoxSetColor cb "red 


previous: ChoiceBoxSetBackgroundColor	next: ChoiceBoxSetFontSize
