Help Contents / GUI programming / ListControls / ListControlSetFontStyle

ListControlSetFontStyle alistcontrol style

Command to set the font style of the ListControl alistcontrol. 

style can be one of the constants wxFONTSTYLE_NORMAL wxFONTSTYLE_SLANT wxFONTSTYLE_ITALIC. 

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]]] 
	ListControlSetFontStyle lc wxFONTSTYLE_ITALIC 


previous: ListControlSetFontName	next: ListControlSetFontWeight
