Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Exists defaultfont for report

edited July 2016 in General
Hi,

is there a way to set the defautl font for a report?
I only found "font." within any object such aus TppLabel.

Background: On opening a report in RB5.56 the font was laways set to
Arial.
Opening a report now in RB17.02 the font is Tahoma, but switches to
Arial after selecting a label.
After closing without and reopening the same report, font is set to
Arial.

Tia Carsten

--


Hint: We altered the sources!Hint: We altered the sources!

Comments

  • edited July 2016
    Hi Carsten,

    The "default" font when you place a new control on a report is
    determined in one of two ways.

    1. rbuilder.ini: The Report Designer checks the rbuilder.ini file for
    the last previously used font properties and uses those for the next
    component added.

    2. If the font properties have not yet been saved to the .ini file or it
    cannot be accessed, then a standard TFont is created using the Delphi
    Application.DefaultFont properties. This of course defaults to Tahoma.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.