By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,336 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,336 IT Pros & Developers. It's quick & easy.


P: n/a

In my application, I would like to use a FontDialog which allows
users to change some options of font of the data in DataGrid. However,
I don't want to let the users to modify the face of the font (the
options that would be allowed are bold, italic, color...). I wonder if
somebody know if I am able to make the "face listbox" in the
FontDialog invisible, or if I am able to eliminate all the non-current
font face from the "face listbox".

Any help is appreciated :)

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I beleive this is not supported by the default implementation of
FontDialog. you may try to drive a new class - say CustFontDialog - from
the FontDialog class and before showing it hide or - I prefer - disable the
An alternative, since the options you want are simple, you may create a
simple dialog for them.



This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.