[dba-VB] VB2005 Programmatically set text box font values

Pete Phillipps pete.phillipps at ntlworld.com
Sun Feb 3 15:00:26 CST 2008


Hi Everyone,

	In VB6, the following code sets/unsets the text box to bold
and/italic depending on the value of the checkboxes:
	txtMyText.Font.Bold = chkBold.Value
	txtMyText.Font.Italic = chkItalic.Value

	How do you do the same in VB2005?

Pete




More information about the dba-VB mailing list