If I call the Editor within Reportbuilder (I'm using the Unit of ActionTest from the demos) then it don't work correct. Only if I click with the mouse somewhere I see the text I have written before.
If I compile the ActionTest then it works good.
Have I forgotten something.
I've done the following things :
The form is inherited from tfrmCustomppRichViewEditor
I'm overwriting the GetRichView function with :
Result := SRichViewEdit1.RichViewEdit;
In my Report Designer I have the following code :
PPRichViewEditorClass := TFormReportGeneratorRichViewEditScale;
It is the line 206 in ppRichviewReportDesign :
formrv.AssignEvents(rvrh.RichView)
If I delete this line, it works good.
But for what is this line?
Best wishes
Bernhard
As I understand, the problem in that that Reportbuilder replaces events in RichView with others, not causing old which has established ScaleRichView.
Line formrv.AssignEvents(rvrh.RichView) replace events in RichView new values.