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
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
with C++ Builder I got rave version 7.7.0
can you compiler that demo code ??
void __fastcall TForm1::BitBtn1Click(TObje ct *Sender)
{
TRaveProject *rp = RaveProject1;
TRaveProjectManager *pm = rp->ProjMan;
TRaveComponent *rc;
TRavePage *pg;
TRaveText *tx;
rp->Open();
rc = pm->FindRaveComponent("Rep ort1.Page1 ",NULL);
pg = dynamic_cast<TRavePage*>(r c);
rc = pm->FindRaveComponent("Tex t1",pg);
tx = dynamic_cast<TRaveText*>(r c);
tx->Text = "Some Text";
tx->Color = clGreen;
rp->ExecuteReport("Report1 ");
rp->Close();
}
can you compiler that demo code ??
void __fastcall TForm1::BitBtn1Click(TObje
{
TRaveProject *rp = RaveProject1;
TRaveProjectManager *pm = rp->ProjMan;
TRaveComponent *rc;
TRavePage *pg;
TRaveText *tx;
rp->Open();
rc = pm->FindRaveComponent("Rep
pg = dynamic_cast<TRavePage*>(r
rc = pm->FindRaveComponent("Tex
tx = dynamic_cast<TRaveText*>(r
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/26897777/Rave-report-render-to-pdf.html will give more links on Rave Code based reports with Delphi
ASKER
Had to abandon the project as there are too many other difficulties associated with Rave.
Thanks for your replies
Regards
Paul
Thanks for your replies
Regards
Paul
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.