Samples for C++ Builder XE ?

Pawel L.Pawel L. Poland
edited 9:09AM in FastReport VCL 5
Hi All,

Where are the Samples for C++ Builder XE ?
I find for Delphi only.

Pawel L.

Comments

  • gpigpi
    edited 9:09AM
    See attach
  • Pawel L.Pawel L. Poland
    edited April 2015
    Thank you ,

    I need sample of C++script code in fr3 file.

    I have few variables like KLIENT1_NAZWA1, KLIENT1_NAZWA2, ...
    and few memo objects like NAME , ADRESS ...

    I set variables in c++ code form:

    Form1->FR->Variables->Variables["KLIENT1_NAZWA1"] ="\"" + Form1->Table_f_kli->FieldValues["NAZWA1"] + "\"";
    Form1->FR->Variables->Variables["KLIENT1_NAZWA2"] ="\"" + Form1->Table_f_kli->FieldValues["NAZWA2"] + "\"";

    I need to join two variables "KLIENT1_NAZWA1" and "KLIENT1_NAZWA2" in one memo NAME:

    How can I do it in event

    void NAMEOnBeforePrint(TfrxComponent Sender)


    Pawel L.
  • Pawel L.Pawel L. Poland
    edited April 2015
    I found resolution.

    void NAMEOnBeforePrint(TfrxComponent Sender)
    {
    NAME.Text = trim(<KLIENT1_NAZWA1>+#10+<KLIENT1_NAZWA2>);
    }

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.