I have an application whereby I add components (TQRMemo's) dynamically to the target QuickReport. I do this according to a user selection using syntax :
with TQRMemo.Create(Nil) do
begin
{set up properties and Parent}
end;
I also incorporate a line which provides the added components with appropriate names - i.e. Name := 'QRMemo' + IntToStr(i) {incrementing the value of i accordingly}
I then seem to be unable to make references to these components.
The report is generated correctly but on instructing Delphi to list the components I do not see the names 'QRMemo1', 'QRMemo2', etc. as I expect - in fact I see no component names for QRMemos.
Can anyone suggest how I can then reference the added components ?
Thanks in advance
Steve
with TQRMemo.Create(Nil) do
begin
{set up properties and Parent}
end;
I also incorporate a line which provides the added components with appropriate names - i.e. Name := 'QRMemo' + IntToStr(i) {incrementing the value of i accordingly}
I then seem to be unable to make references to these components.
The report is generated correctly but on instructing Delphi to list the components I do not see the names 'QRMemo1', 'QRMemo2', etc. as I expect - in fact I see no component names for QRMemos.
Can anyone suggest how I can then reference the added components ?
Thanks in advance
Steve