Montag, 19. Januar 2009

Rave AddOns

Many developers have noticed that the Nevrona-Page isn't at the moment ready to use.
Especially the AddOn's aren't available. I've created a link-list to download the files from the

Rave 5:

Rave 5.0 5.1 6 7

Rave 5.0 5.1 6 7

Rave 5.0 5.1 6 7

Rave 5.0 5.1 6 7

EAN8 Barcode
Rave 5.0 5.1 6 7


Advantage 6 7

If a link is broken please insert a comment here, thx!

And after release of Rave 8 Nevrona Design will activate the homepage again and this blog-entry will be obsolete;

Mittwoch, 7. Januar 2009

Rave and the old preview...

Rave have since version 3 the same preview-form. Many users of Rave don't understand why it's not with a newer design available. 
First the BEX users have the complete source and on the other side (for BE-users and corporate-design-developers) you have with Delphi and Rave all the flexibility you need for your own preview in your application-form, with your look&feel.

In the following example you see how easy an own preview in your form is:
You must only insert a TScrollBox from Delphi and instead of the RvSystem the RvNDRWriter for the engine of your RvProject. To render the report into the scrollBox you need the RvRenderPreview-component from the Rave-register;

you can insert the componenta on your form or create on runtime:
      RvRenderPreview1: TRvRenderPreview;
    RvNDRWriter1: TRvNDRWriter;
    RvRenderPreview1 := TRvRenderPreview.Create(Self);
    RvNDRWriter1 := TRvNDRWriter.Create(Self);

Now you can show the report inside your application and don't need a special (old) form ...

procedure TForm1.Button2Click(Sender: TObject);
  MeinNDRStream: TMemoryStream;
  MeinNDRStream := TMemoryStream.Create;
  RvProject1.Engine := RvNDRWriter1;
  with RvNDRWriter1 do
    StreamMode := smUser;
    Stream := MeinNDRStream;
  // the report is now written into the TMemoryStream;
  // you can use the report for many things without regenerate
  // the report again!
  // e.g. preview, print and render into PDF/HTML or whatelse

  MeinNDRStream.Position := 0;

  with RvRenderPreview1 do
    ScrollBox := ScrollBox1;
    NDRStream := MeinNDRStream;

 MeinNDRStream.Position := 0;
// here I use the report again for rendering into a pdf-file
// without regenerate it again ...  
  // with RenderPage you can define a page and only 
  // this page is   rendered:

To navigate in your report you have the following possibilities:

  RvRenderPreview1.LastPage := RvRenderPreview1.Pages;
  RvRenderPreview1.FirstPage := 0;

Here you get the total pages outside Rave: