Discussion:
Fastreport -> adding Text to Memo
(too old to reply)
Jörg Branahl - M&P GmbH
2003-12-18 10:49:20 UTC
Permalink
I'm just testing fastreport for the first time.
Printing Data from a Database is really easy.

But how can I change the Text manually
for any Fastreport TFrMemoview ???

In Quickreport i just could say : Quickrep1.QRLabel1.Cpation :='myString'
How can I do this in any easy way in Fastreport ????
--
Jörg Branahl
______________________________________
Michael Philippenko
2003-12-18 15:09:59 UTC
Permalink
Dear Jörg Branahl!

Thank you for good opinion!

Thursday, December 18, 2003, 1:49:20 PM, you wrote:

JBMPG> I'm just testing fastreport for the first time.
JBMPG> Printing Data from a Database is really easy.

JBMPG> But how can I change the Text manually
JBMPG> for any Fastreport TFrMemoview ???

JBMPG> In Quickreport i just could say : Quickrep1.QRLabel1.Cpation :='myString'
JBMPG> How can I do this in any easy way in Fastreport ????

FR objects is not a components and can be accessed this way:

var
t: TfrMemoView;
begin
t := TfrMemoView(frReport1.FindObject('Memo1'));

if t <> nil then
t.Memo.Text := 'FastReport';
// or this:
if t <> nil then
t.Prop['Memo'] := 'FastReport';
end;
--
Best regards,
Michael Philippenko mailto:***@fast-report.com
Fast Reports - cross-platform multi-language solutions for developers
http://www.fastexperts.com

Delphi Informant Magazine Readers Choice Awards 2003
Runner Up Best Reporting Tool
FastReport - http://www.fastreports.net
All results can be found at
http://www.delphizine.com/opinion/2003/09/di200309jc_o/di200309jc_o.asp
Loading...