Question about ppreport.language property
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
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
This discussion has been closed.
Comments
The TppLanguageType enumerated type is located in the ppTypes.pas file. Add
ppTypes to your uses clause and the error should be resolved.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com