Link to home
Start Free TrialLog in
Avatar of PruneBottle
PruneBottle

asked on

Rave Reports

Hi
The events in Rave 9 seem to be set up for Pascal, but I am working in C++Builder. Is there a way to set it up for C++?

Paul
Avatar of jimyX
jimyX

I am not using C++ builder but I believe Rave Reports version available in Delphi and C++ are alike, even if they are not, writing or changing events to rave report in C from Delphi will require a lot of effort and time to translate the libraries, specially when you know that the developer is no longer continuing to support this great component. The Rave Report 9 is not even available on the Homepage, you will find 5.1.

However you can request the admin attention to include C++ zones to this question for more details from C++ experts.

Just a side note, seems this component is gradually going to be abandoned since it lacks the support.
with C++ Builder I got rave version 7.7.0  

can you compiler that demo code ??


void __fastcall TForm1::BitBtn1Click(TObject *Sender)

  {
    TRaveProject *rp = RaveProject1;
    TRaveProjectManager *pm = rp->ProjMan;
    TRaveComponent *rc;
    TRavePage *pg;
    TRaveText *tx;

    rp->Open();
    rc = pm->FindRaveComponent("Report1.Page1",NULL);
    pg = dynamic_cast<TRavePage*>(rc);
    rc = pm->FindRaveComponent("Text1",pg);
    tx = dynamic_cast<TRaveText*>(rc);
    tx->Text = "Some Text";
    tx->Color = clGreen;
    rp->ExecuteReport("Report1");
    rp->Close();
  }
If you run a code based Rave report then you can hook your code into the report events.  If you are using the Rave visual report designer then the scripting is Pascal script.
ASKER CERTIFIED SOLUTION
Avatar of PruneBottle
PruneBottle

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
https://www.experts-exchange.com/questions/26897777/Rave-report-render-to-pdf.html   will give more links on Rave Code based reports with Delphi
Avatar of PruneBottle

ASKER

Had to abandon the project as there are too many other difficulties associated with Rave.

Thanks for your replies

Regards
Paul