I know there is a slight language barrier here. Perhaps you could also post your question in you native language (Brazilian) and someone else may be able to translate it on this newsgroup or give you a better answer based on a better understanding of your problem/question.
Please examine the Developer'sGuide.pdf included in you installation for examples of code. There are also tutorials and examples in the installed Delphi$\RBuilder\Demos directory. Run the Report Explorer demos to see the end user solution in action.
Excuse to bad expression, until the momente I already knew of as to arrive to the Editor, he/she would only like to know it is had as doing this in time of execution, so that the final user can publish its own text.
From the report designer, use the right mouse button click over the richt ext control. This should launch a popup menu. You should then be able to choose 'Edit' In the Brazilian translation it would be 'Editar'
Comments
On the Editor, it is the Editor of component TppRichText.
Thank you.
Ivan
the Designer.
ppDesigner1.Report := ppReport1;
ppDesigner1.Showmodal;
I know there is a slight language barrier here. Perhaps you could also post
your question in you native language (Brazilian) and someone else may be
able to translate it on this newsgroup or give you a better answer based on
a better understanding of your problem/question.
Please examine the Developer'sGuide.pdf included in you installation for
examples of code. There are also tutorials and examples in the installed
Delphi$\RBuilder\Demos directory. Run the Report Explorer demos to see the
end user solution in action.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Excuse to bad expression, until the momente I already knew of as to arrive
to the Editor, he/she would only like to know it is had as doing this in
time of execution, so that the final user can publish its own text.
Thank you very much
Ivan
ext control. This should launch a popup menu. You should then be able to
choose 'Edit' In the Brazilian translation it would be 'Editar'
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
text control in the report before the report prints.
------------------------------------------------
Tech Tip: Copy RTF data from TRichEd to TppRichText
------------------------------------------------
You can copy RTF data from Delphi's TRichEd to ReportBuilder's TppRichText
control by using an intermediate memory stream:
var
lRTFStream: TMemoryStream;
begin
{create temp memory stream}
lRTFStream := TMemoryStream.Create;
{save the TRichEd's rtf data to the memory stream}
RichEdit1.Lines.SaveToStream(lRTFStream);
{load the rtf stream to the TppRichText}
lRTFStream.position := 0;
ppRichText1.LoadFromRTFStream(lRTFStream);
{free the memory stream}
lRTFStream.Free;
end;
Note: An alternative method would be to use RichEdit1.Lines.SaveToFile and
TppRichText.LoadFromFile.
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com