ListBoxSetBackgroundColor

HC GUI programming ListBoxes ListBoxSetBackgroundColor
ListBoxCount ListBoxSetColor

ListBoxSetBackgroundColor alistbox color


Command to set the background color of the ListBox alistbox to the color color.

color must be a valid color, see also setPenColor!

Example:

lb=ListBox [][LB] [[The first String][S2][S3]] [][]
ListBoxSetBackgroundColor lb "red

Reference:

ListBoxCount ListBoxSetColor