Font Dialog

B

Big E

I'm using VB.Net and the FontDialog control.
When the FontDialog pops up it shows Fonts, Sizes, Colors etc...
It does NOT show the ability to use subscripts or superscripts.
My users need to write text sometimes as exponents or trademarks.
I need to let them use subscripts like in Microsoft Word.

Any ideas or examples how to customize the FontDialog control.
 
H

Herfried K. Wagner [MVP]

* "Big E said:
I'm using VB.Net and the FontDialog control.
When the FontDialog pops up it shows Fonts, Sizes, Colors etc...
It does NOT show the ability to use subscripts or superscripts.
My users need to write text sometimes as exponents or trademarks.
I need to let them use subscripts like in Microsoft Word.

Any ideas or examples how to customize the FontDialog control.

That's not supported by the textbox control. You may want to use a
RichTextBox instead and use its 'SelectedCharOffset' property. There is
no such option in the font dialog, you will have to provide an UI.
 

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