Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Changing Font of a textBox

VB.NET 2003 Code: NewText.Font = New System.Drawing.Font("Microsoft Sans Serif", 20)

How can I do the equivilant of this code in C++ .NET 2005?

Thanks
0
nigelboyle
Asked:
nigelboyle
2 Solutions
 
AlexFMCommented:
NewText>Font = gcnew System::Drawing::Font(L"Microsoft Sans Serif", 20);
0
 
bramsquadCommented:
slight, slight change

 NewText->Font = gcnew System::Drawing::Font(L"Microsoft Sans Serif", 20);

forgot the  '-' before the greater than symbol

~b
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now