1. Drop a TButton and a TfrReport to your form. Make sure StoreInform property is set to true.
2. Double click TfrReport, after the designer appears, drop a Rectangle object to the desinger, rename it to Memo1
3. Close the designer, click to report, create OnEnterRect event. Paste this code:
procedure TForm1.frReport1EnterRect(Memo: TStringList; View: TfrView);
begin
if (View is TfrMemoView) then
if (View as TfrMemoView).Name = 'Memo1' then
(View as TfrMemoView).Memo.Text := 'test test test';
end;
4. On Button1 click:
procedure TForm1.Button1Click(Sender: TObject);
begin
frReport1.ShowReport;
end;