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

Comments

  • PolomintPolomint Australia
    edited 3:24PM
    Hernando wrote: »
    What are the possible values for the TfrxReportPage.PaperSize?
    G'day Hernando,

    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
  • edited 3:24PM
    Paul, thank you for replying.

    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.
  • PolomintPolomint Australia
    edited 3:24PM
    Hernando wrote: »
    Do you know ... which properties has precedence over the others?
    Ah, sorry Hernando I don't. But someone else on these forums with the Source may be able to enlighten you.

    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... >
  • edited 3:24PM
    Hi Paul,
    wrote:
    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.
  • PolomintPolomint Australia
    edited 3:24PM
    De nada >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.