I want to Remove all the controls from the "Detail Band", which is a control of "Quick Report" in DELPHI

897 Views Asked by At

Possible Duplicate:
Remove/ Destroy all the control from quick report detail band

Some user say this is #"incomplete question" #, but is a very clear question. I want to Remove all the controls from the "Detail Band", which is a control of "Quick Report" in DELPHI.

1

There are 1 best solutions below

1
On BEST ANSWER

I guess something like this would work...

for i := DetailBand.ControlCount - 1 downto 0 do
  DetailBand.Controls[0].Free;

But I wrote it from memory... Not sure if QR*** components are TControl descendants.