Help Contents / GUI programming / ChoiceBoxes / ChoiceBoxSetFontStyle

ChoiceBoxSetFontStyle achoicebox style

Command to set the font style of the ChoiceBox achoicebox. 

style can be one of the constants wxFONTSTYLE_NORMAL wxFONTSTYLE_SLANT wxFONTSTYLE_ITALIC. 

Example: 

	cb=(ChoiceBox [][MyChoiceBox] 
	[	[String 1] 
		[and a second string] 
		[and the last string] 
	] 
	[	(show "|MyChoiceBox| ChoiceBoxSelection) 
	]) 
	ChoiceBoxSetFontStyle cb wxFONTSTYLE_ITALIC 


previous: ChoiceBoxSetFontName	next: ChoiceBoxSetFontWeight
