Help Contents / GUI programming / ListBoxes / ListBoxSetFontStyle

ListBoxSetFontStyle alistbox style

Command to set the font style of the ListBox alistbox. 

style can be one of the constants wxFONTSTYLE_NORMAL wxFONTSTYLE_SLANT wxFONTSTYLE_ITALIC. 

Example: 

	lb=ListBox [][LB] [[The first String][S2][S3]] [][] 
	ListBoxSetFontStyle lb wxFONTSTYLE_ITALIC 


previous: ListBoxSetFontName	next: ListBoxSetFontWeight
