Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialog box font

Status
Not open for further replies.

fabien

Technical User
Sep 25, 2001
299
0
0
AU
Hi!

I would like to display a message in a dilog box with a specific font i cant do it!

1) tk_messageDialogBox does not have a -font option
2) Bwidget MessageDlg has -font but it has not effect in my case.

Thanks!
 
setting the line below solves the problem
option add *Dialog.msg.font {Helvetica 10} userDefault

BUT

I had previously set
option add *font -adobe-helvetica-b*-r*-*--14-*-75-75-*-*-iso8859-1
to change all the texts for the GUI.
Even if I set
option add *Dialog.msg.font {Helvetica 10} userDefault
just after the one above it is not taken into account.

What should I do then?

 
I solved the problem using userdefault for both

option add *font -adobe-helvetica-b*-r*-*--14-*-75-75-*-*-iso8859-1 userDefault
option add *Dialog.msg.font {Helvetica 10} userDefault

What is the difference between widget and userfault?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top