2 Question
1. There are 20 columns in the report , the paper can print 15 columns. How to print last 5 columns on the next paper?
2. How to add a Memo use progam? My code is wrong.
procedure TReportTestForm.Button1Click(Sender: TObject);
var
DynamicMemo: TfrxMemoView;
begin
frxReport1.LoadFromFile('Test.fr3');
DynamicMemo := TfrxMemoView.Create(frxReport1);
DynamicMemo.Parent := frxReport1.FindObject('PageHeader1');
DynamicMemo.Text := 'Test';
DynamicMemo.Name := 'memo123';
DynamicMemo.Width := 20;
DynamicMemo.Left := frxReport1.FindObject('Memo8').Left+frxReport1.FindObject('Memo8').Width;
frxReport1.Report.Objects.Add(DynamicMemo);
frxReport1.ShowReport;
end;
2. How to add a Memo use progam? My code is wrong.
procedure TReportTestForm.Button1Click(Sender: TObject);
var
DynamicMemo: TfrxMemoView;
begin
frxReport1.LoadFromFile('Test.fr3');
DynamicMemo := TfrxMemoView.Create(frxReport1);
DynamicMemo.Parent := frxReport1.FindObject('PageHeader1');
DynamicMemo.Text := 'Test';
DynamicMemo.Name := 'memo123';
DynamicMemo.Width := 20;
DynamicMemo.Left := frxReport1.FindObject('Memo8').Left+frxReport1.FindObject('Memo8').Width;
frxReport1.Report.Objects.Add(DynamicMemo);
frxReport1.ShowReport;
end;
Comments
Re read the programmers manual on building reports from code
you must declare variables of required types and find finobjects
and then add to the correct object in the same manner, as if you were building from scratch.
But the question 1???