Help Contents / GUI programming / ListControls / ListControlSetFontWeight

ListControlSetFontWeight alistbox weight

Command to set the font weight of the ListControl alistcontrol. 

weight can be one of the constants wxFONTWEIGHT_NORMAL wxFONTWEIGHT_LIGHT wxFONTWEIGHT_BOLD 

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]]] 
	ListControlSetFontWeight lc wxFONTWEIGHT_BOLD 


previous: ListControlSetFontStyle	next: ListControlOnChar
