simple vb to dotnet question

  • Thread starter Thread starter Adrian
  • Start date Start date
A

Adrian

Hi
I want to use a fixed width font on a command button set at runtime
in vb6 command1.font="courier new"

In VB dotnet comman1.font=new font(?????????, ??????)

thanks
 
Adrian said:
I want to use a fixed width font on a command button set at runtime
in vb6 command1.font="courier new"

In VB dotnet comman1.font=new font(?????????, ??????)

\\\
Me.Button1.Font = _
New Font("Trebuchet Ms", Me.Font.Size, Me.Font.Style)
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top