# How to set a font for the whol application

**URL:** <https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646>\
**Category:** wxRuby\
**Created:** [July 21, 2008, 2:39pm UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646 "2008-07-21T14:39:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [July 21, 2008, 2:39pm UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646/1 "2008-07-21T14:39:59Z")

</div>

Hi all,

how can i set a special font for the whole application, so that all  
elments (inclusive MessageBox, TipWindow, …)  
work with this font?

(For a frame i can set the font, but then, only the inherited frames has  
setted this font.)

Thanks in advance for any help,  
Franz

This communication and any files or attachments transmitted with it may  
contain information that is copyrighted or confidential and exempt from  
   
 disclosure under applicable law. It is intended solely for the use  
of the individual or the entity to which it is addressed.   
  
If you are not the intended recipient, you are hereby notified that any  
use, dissemination, or copying of this communication is strictly  
prohibited.   
  
If you have received this communication in error, please notify us at  
once so that we may take the appropriate action and avoid troubling you  
further.   
  
Thank you for your cooperation. Please contact your local IT staff or  
email [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid?subject=Disclaimer)  
if you need assistance.  
   
&nbsp;  
  
Siltronic AG, Sitz München, Hanns-Seidel-Platz 4, 81737  
München, Germany. Amtsgericht München HRB 150884  
   
  
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad,  
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats:  
Peter-Alexander Wacker

---

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [July 21, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646/2 "2008-07-21T18:17:45Z")

</div>

Hi Franz

Irlweg, Franz (ZNT) wrote:

> how can i set a special font for the whole application, so that all  
> elments (inclusive MessageBox, TipWindow, ..)  
> work with this font?
> 
> (For a frame i can set the font, but then, only the inherited frames  
> has setted this font.)

I’m afraid there’s no method I know of that does this automatically  
across a whole application. Generally it is preferable that the font  
settings for MessageBox etc come from the user’s own desktop settings,  
rather than being set by the application.

alex

---

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [July 22, 2008, 10:16am UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646/3 "2008-07-22T10:16:57Z")

</div>

Thanks for the explanation,  
at least I know that it isn’t possible.

---

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [July 24, 2008, 7:49am UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646/4 "2008-07-24T07:49:29Z")

</div>

Hi Alex,

my application is started from a dos-box. So, how can I change the  
“deskop settings” in the dos-box?  
(Changing the desktop settings for all applications is not possible!)

Franz
