H halldam New member Joined Aug 1, 2007 Messages 1 Programming Experience Beginner Aug 2, 2007 #1 What would be the equivalent code in vb.net (2008) for the VB v5: txtDisplay.fontname = "arial" I'm a beginner's beginner! :-(
What would be the equivalent code in vb.net (2008) for the VB v5: txtDisplay.fontname = "arial" I'm a beginner's beginner! :-(
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,818 Location Norway Programming Experience 10+ Aug 2, 2007 #2 Select the font in Designer property, or in code create a new Font object to assign to the Font property: VB.NET: TextBox1.Font = New Font("Arial", 23, FontStyle.Regular) Upvote 0 Downvote
Select the font in Designer property, or in code create a new Font object to assign to the Font property: VB.NET: TextBox1.Font = New Font("Arial", 23, FontStyle.Regular)