Fonts in a Windows form

  • Thread starter Thread starter microsoft.public.dotnet.framework.windowsforms
  • Start date Start date
M

microsoft.public.dotnet.framework.windowsforms

I am programming in VB .Net and I will would like to write, in a windows
form, characters that are both underline and bold. When defining fonts
in VB.NET, only underline or bold is available. How to write underline
and bold characters?
Many thanks!




*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
* microsoft.public.dotnet.framework.windowsforms said:
I am programming in VB .Net and I will would like to write, in a windows
form, characters that are both underline and bold. When defining fonts
in VB.NET, only underline or bold is available. How to write underline
and bold characters?

\\\
Dim f As New Font(Me.Font, FontStyle.Bold Or FontStyle.Underline)
///
 
Thank you very much for your help!
It works fine.



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Back
Top