I want to Remove all the controls from the “Detail Band”, which is a control of “Quick Report” in DELPHI [duplicate]

StackOverflow https://stackoverflow.com/questions/12776989

  •  05-07-2021
  •  | 
  •  

質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top