Help with FlatStyle.System and font

  • Thread starter Thread starter Alan W.
  • Start date Start date
A

Alan W.

Hi,

I've tried to search the answer but can't find it so far:

Can someone shed some light on how the font was used when button's
flat style is FlatStyle.System??
I've tried all sorts of ways, but the button's font always got changed
when its container's font was set. Is there a way to set it back to
Windows' default?

Thanks!!
Alan
 
* (e-mail address removed) (Alan W.) scripsit:
Can someone shed some light on how the font was used when button's
flat style is FlatStyle.System??
I've tried all sorts of ways, but the button's font always got changed
when its container's font was set. Is there a way to set it back to
Windows' default?

\\\
Me.Button1.Font = DirectCast(Me.Button1.Font.Clone(), Font)
Me.GroupBox1.Font = New Font("Arial", 33, FontStyle.Bold)
///
 
Hi Herfried,

I've finally located the silly bug that caused the problems. (It has nothing
to do with FlatStyle as you've known.)

Many Thanks!!!
Alan
 

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