Discussion:
How can I change all of the fonts easily?
(too old to reply)
donna
2004-09-15 23:12:12 UTC
Permalink
I have several panels in my application and I would like to set all of
the fonts in my entire application to Ariel 12 instead of using
NIDialogMetaFont etc. Is there a quick and easy way to this rather
than set each field on each panel one at a time?
Thanks!
Roberto Bozzolo
2004-09-16 13:00:52 UTC
Permalink
Unfurtunately there seems not to be an option to operate on several
control's attributes at a time.

I see two ways to obtain what you need:
1. In case you have not yet developed the UIR, change the default text
and label attributes in the UIR editor preferences to the font and
size you want
2. For existing panels, you can save in text format, make the
necessary modifications dorectly in the TUI file and reload the oanels
fromt the TUI file. With a few attempts and a smart use of
search-and-replace functions of your editor you should be able to
solve your problem easily.

Hope this helps
Roberto
donna
2004-09-16 16:38:37 UTC
Permalink
Roberto,
Thanks for your response. Can you tell me how I can save the
existing panel in a TUI file. My save as drop down panel does not
provide that extension as an option.
Donna
LuisG
2004-09-16 17:08:25 UTC
Permalink
Select Options>>Save in Text Format

Luis
NI
LuisG
2004-09-16 17:07:35 UTC
Permalink
Actually, while it's true that in general you cannot change the
attributes of multiple controls at a time, you can change the font of
multiple controls. If you set the default text and label fonts to what
you want (in the Options>>Preferences dialog) you can then apply this
font to multiple controls: simply select the controls you want, and
then use Edit>>Apply Default Font.

Luis
NI

Loading...