TFrxReportPage
Hi to all,
I'll like to apologise because of this simple question, but I can't find neither in Programmer Manual, User Manual or Developer Manual what are the posible values for the TfrxReportPage.PaperSize.
I need these for creating runtime reports.
Any help will be appreciated.
Best regards,
Hernando Duque
I'll like to apologise because of this simple question, but I can't find neither in Programmer Manual, User Manual or Developer Manual what are the posible values for the TfrxReportPage.PaperSize.
I need these for creating runtime reports.
Any help will be appreciated.
Best regards,
Hernando Duque
Comments
The values are defined in Windows.pas (you can check the list via the Help file), and AFAIK these translate into integer values listed on the Microsoft Windows Dev Centre.
You'll need to set Page.PageSize to the user-selected value translated into the appropriate number (e.g. 9 for A4).
Cheers, Paul
I have another question. Do you know what happens in case I set both the TfrxReportPage.PaperHeigth, TfrxReportPage.PaperWidth but also the TfrxReportPage.PaperSize which properties has precedence over the others?
Regards,
Hernando.
Alternatively, a little experiment shouldn't be hard. I just "played" with the fields in the FR designer, and it seems "PaperSize" has priority (I couldn't change the Width / Height manually).
A small test program would answer this quickly...
I made a test program and it seems that "PaperSize" has precedence over the other properties.
Thank you for your help.
Hernando.