Sample of using ScaleRichView Report Workshop

ReportWorkshop support and discussion (TRichView reporting add-on)
Post Reply
makina
Posts: 6
Joined: Wed Sep 13, 2017 8:17 pm

Sample of using ScaleRichView Report Workshop

Post by makina »

Hello, is there an executable sample of the scalerichview working with reportworkshop??

im planning to buy any of the below options but I would like to see wich one is better for what im looking for,.
unfortunatelly I don't see a compiled version using the ScaleRichView, or maybe it is there,

TRichView + ScaleRichView + ReportWorkshop
TRichView + ReportWorkshop

something else, is it possible to set a default language (i need spanish) in the licenced version of report worshop? in the demo version I dont see a way to do that.

also is it possible to use unidac (devart) components ?

thank you.
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Sample of using ScaleRichView Report Workshop

Post by Sergey Tkachenko »

Hello,

There is a demo of using ScaleRichView together with Report Workshop.
It is in <TRichView Dir>\ReportWorkshop\Demos\FireDAC\ScaleRichViewReportEditor\
This demo is a ScaleRichView analog of TRichViewEdit-based demo (<TRichView Dir>\ReportWorkshop\Demos\FireDAC\ReportEditor\).
Sample reports for this demo are in <TRichView Dir>\ReportWorkshop\Demos\ReportsScaleRichView\InterBase\dbdemos (and others in <TRichView Dir>\ReportWorkshop\Demos\ReportsScaleRichView\, but you need to switch to the corresponding database (tab "Data", button "Change Database").

Yes, Spanish UI is supported. To make it default, you need to assign 'Spanish' to RVAControlPanel1.Language at designtime.

Yes, UniDAC is supported. Unfortunately, we do not have demo projects with UniDAC, but it's simple, you need to link TRVReportGenerator component with TRVReportUniDataProvider component.

If you will try to change one of our ReportEditor demos to UniDAC... All database-specific code is placed in a datamodule. For example, for FireDAC demos, it is in ReportDataFD.pas. You need to create a similar datamodule for UniDAC. If you have problems doing it, I'll try to help.
makina
Posts: 6
Joined: Wed Sep 13, 2017 8:17 pm

Re: Sample of using ScaleRichView Report Workshop

Post by makina »

Hello,. unfortunately the firedac sample did not work, could you create this same sample but using unidac and scaleveiw?
the firedac is showing the below errors.
(btw in the firedac sample i dont see the SV in use)
---------------------------
Debugger Exception Notification
---------------------------
Project ReportEditorFD.exe raised exception class EReadError with message 'Property ColorDepth does not exist'.
---------------------------
Break Continue Help
---------------------------


---------------------------
Debugger Exception Notification
---------------------------
Project ReportEditorFD.exe raised exception class EReadError with message 'Error reading ilNormal.ColorDepth: Property ColorDepth does not exist'.
---------------------------
Break Continue Help
---------------------------


---------------------------
Application Error
---------------------------
Exception EReadError in module ReportEditorFD.exe at 00026517.

Error reading ilNormal.ColorDepth: Property ColorDepth does not exist.


---------------------------
Aceptar
---------------------------
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Sample of using ScaleRichView Report Workshop

Post by Sergey Tkachenko »

What version of Delphi do you use?
ColorDepth property was added in TImageList in Delphi 2009, and this is a minimal required version of Delphi for our FireDAC report editor demo, because it uses 32-bit toolbar images (they are supported only in Delphi 2009 and later).

There are two FireDAC report editor demo, in Demos\FireDAC\ReportEditor (it uses TRichViewEdit) and Demos\FireDAC\ScaleRichViewReportEditor\ (it uses ScaleRichView).

Actually, all our TRichViewEdit-based report editor demos are almost identical, the difference is only in datamodules.
If you want to make FireDAC demo for older versions of Delphi, you can take the demo in IBX\ReportEditor\DelphiOld\, remove ReportDataIBX from the project and from "uses" of the main form, and add FireDAC\ReportEditor\ReportDataFD.pas instead.
In FireDAC\ReportEditor\ReportDataFD.pas, change all '..\..\' paths to '..\..\..\'
Sentorolar
Posts: 3
Joined: Tue Sep 11, 2018 2:29 pm
Location: Czech
Contact:

Sample of using ScaleRichView Report Workshop

Post by Sentorolar »

If Report can be design using a simple drag and drop.. only textbox WITH EXPRESSION, caption and line or box. it will be VERY HELPFUL.
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Sample of using ScaleRichView Report Workshop

Post by Sergey Tkachenko »

Report templates are created in a rich text editor, so you can use editing operations to insert fields, including drag&drop.

In our ReportEditor demo projects, fields can be inserted by clicking in the field list (located at the left side of the main form window). But this is only a demo project, you can implement your own user interface.

Demo projects showing how to implement drag&drop from other controls to our editors:
https://www.trichview.com/forums/viewto ... f=3&t=3407 (from TTreeView to TRichViewEdit)
https://www.trichview.com/forums/viewto ... f=3&t=8834 (from TStringGrid to TSRichViewEdit)
Post Reply