Help Contents / GUI programming / Frames / FrameSetBackgroundColor

FrameSetBackgroundColor aframe acolor

Command to set the background color of the Frame aframe to acolor, which must be a valid color (see SetPenColor!). 

Example: 

	f=Frame [][MyFrame] wxdefault_frame_style [100 200][200 100] 
	FrameSetBackgroundColor f rgb 1 0 0 
	b=(Button f [Close][ern "f  GC] 0 [-1 -1][100 40]) 


previous: FrameSetColor	next: FrameSetFontSize
