Help Contents / GUI programming / ListControls / ListControlSetColor

ListControlSetColor alistcontrol color

Command to set the foreground color of the ListControl alistcontrol to the color color. 

color must be a valid color, see also setPenColor! 

Example: 

	lc=(ListControl [][MyListControl][][][] 
		wxLC_REPORT [0 0][300 200]) 
	ListControlInsertColumn lc 0 [Logo] 
	ListControlInsertColumn lc 1 [Main Author] 
	ListControlSet lc [ 
		[UCBLogo [Brian Harvey]] 
		[MSWLogo [George Mills]]] 
	ListControlSetColor lc "red 


previous: ListControlSetBackgroundColor	next: ListControlSetFontSize
