Help Contents / GUI programming / ChoiceBoxes / ChoiceBoxSetFontWeight

ChoiceBoxSetFontWeight achoicebox weight

Command to set the font weight of the ChoiceBox achoicebox. 

weight can be one of the constants wxFONTWEIGHT_NORMAL wxFONTWEIGHT_LIGHT wxFONTWEIGHT_BOLD 

Example: 

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


previous: ChoiceBoxSetFontStyle	next: ChoiceBoxOnChar
