views:

145

answers:

2

Hi All,
I am using FontDialog control in vb.net application. When I set its ShowColor property to true, it shows me StrikeOut, Underline and Color option under Effects group. I need only color from these three. Is there any way to hide Strikeout and underline effects, so that only Color option will be visible.
Thanks in advance for any kind of help.

A: 

I dont think it is possible to hide or change default Windows Font dialog.

For that you have create your own custom Control

Thanks

Amitd

Amitd
A: 

Yes its not possible to hide underline and strickout option in fontdialog while on otherhand you can solve your problem by not showing such effects on your text by handling it just before style apply on the target text.

I hope u will got the point

Regards, Atif

Atif