Ruby Forum wxRuby > how to set a font for the whol application

Posted by Irlweg, Franz (ZNT) (Guest)
on 21.07.2008 14:39
(Received via mailing list)
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


</PRE><html><P><SPAN style="FONT-SIZE: 8pt"><FONT color=#000000><FONT 
face=Arial>
This communication and any files or attachments transmitted with it may 
contain information that is copyrighted or confidential and exempt from 
<br>  disclosure under applicable law. It is intended solely for the use 
of the individual or the entity to which it is addressed. <br>
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or copying of this communication is strictly 
prohibited. <br>
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. <br>
Thank you for your cooperation. Please contact your local IT staff or 
email <a 
href="mailto:info@siltronic.com?subject=Disclaimer">info@siltronic.com</a> 
if you need assistance.
<br>&nbsp;<br>
Siltronic AG, Sitz M&uuml;nchen, Hanns-Seidel-Platz 4, 81737 
M&uuml;nchen, Germany. Amtsgericht M&uuml;nchen HRB 150884
<br>
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad, 
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: 
Peter-Alexander Wacker
</FONT></FONT></SPAN></P></html>
Posted by Alex Fenton (Guest)
on 21.07.2008 18:17
(Received via mailing list)
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
Posted by Irlweg, Franz (ZNT) (Guest)
on 22.07.2008 10:16
(Received via mailing list)
Thanks for the explanation,
at least I know that it isn't possible.
Posted by Irlweg, Franz (ZNT) (Guest)
on 24.07.2008 07:49
(Received via mailing list)
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