Font Dialog to text box example...

A

Anthony Nystrom

Can someone give me a sample of linking the windows forms component font
dialog to a textbox or rtf component... I don't know why I am having trouble
with this...

Thanks,

Anthony Nystrom
 
H

Herfried K. Wagner [MVP]

* "Anthony Nystrom said:
Can someone give me a sample of linking the windows forms component font
dialog to a textbox or rtf component... I don't know why I am having trouble
with this...

\\\
Dim f As New FontDialog
If f.ShowDialog = DialogResult.OK Then
Me.RichTextBox1.SelectionFont = f.Font
End If
///
 

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

Top