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

Question about ppreport.language property

edited August 2004 in General
Can the ppReport property be set dynamically during runtime instead of
compile time? I use the following line and get an error:

ppReport1.language := lgSpanish;

The error is" "Undeclared identifier: 'lgSpanish'

I get this error even though ppProd is in my "USES" along with ppReport,
ppComm, etc...

Alos tried using ppReport1.language := 'lgSpanish'; thinking it might be a
string but got an incompatible types error. Am I doing somehting wrong here?

Using latest version of RB under Delphi 7. Default language is English.

I want to be able to have support for multiple languages in * one * single
application but the docs (ie; readme.doc in languages' folder and
rbuilder.hlp) and developer guide (rbuilder.pdf) seem to only address a
single language at a time. How do I do this?

Regards;

Bob Dalton

Comments

  • edited August 2004
    Hi Bob,

    The TppLanguageType enumerated type is located in the ppTypes.pas file. Add
    ppTypes to your uses clause and the error should be resolved.

    --
    Best Regards,

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