|
-
Oct 14th, 2001, 09:44 AM
#1
Thread Starter
Stuck in the 80s
Common Dialog
I'm using the Common Dialog to select a font, but I don't want the user to be able to select attributes such as bold, italic, etc.
Is there a way to do this?
-
Oct 14th, 2001, 09:53 AM
#2
Add the cdlCFNoSimulations flag to the Flags property
VB Code:
CommonDialog1.Flags = cdlCFNoSimulations + cdlCFBoth
Best regards
-
Oct 14th, 2001, 09:55 AM
#3
Thread Starter
Stuck in the 80s
that doesn't seem to work for all fonts?
-
Oct 14th, 2001, 10:02 AM
#4
That's strange! What fonts doesn't it work for?
-
Oct 14th, 2001, 10:09 AM
#5
Thread Starter
Stuck in the 80s
For Times New Roman, it shows all of them (bold, italic, etc) and for others like News Gothic MT, it only shows bold.
-
Oct 14th, 2001, 10:36 AM
#6
Frenzied Member
One option that you have (very anoying to user) is to simply ignore that Bold, and Italic options in the commondialog. Let the user choose what he wants, but dont do anything with Bold and Italics. I hope you know what i mean.
You just proved that sig advertisements work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|