ComboBoxSetColor

Help Contents GUI programming ComboBoxes ComboBoxSetColor
ComboBoxSetBackgroundColor ComboBoxSetFontSize

ComboBoxSetColor acombobox color


Command to set the foreground color of the ComboBox acombobox to the color color.

color must be a valid color, see also setPenColor!

Example:

cb=(ComboBox [][MyComboBox][Initial string]
	[	[String 1]
		[and a second string]
		[and the last string]
	]
	[	(show "|MyComboBox| ComboBoxSelection)
	]
	[	(pr [change] ComboBoxValue)
	]
	[	v=ComboBoxValue
		(pr [enter] v)
		ComboBoxAppend cb v
	]
	wxCB_simple [-1 -1][300 200])
ComboBoxSetColor cb "red

Reference:

ComboBoxSetBackgroundColor ComboBoxSetFontSize