Icon View Incident Report

Serious Serious
Reported By: Ronald
Reported On: 9/19/2013
For: Version 1.02 Build 2
# 3941 ComponentCount Not Being Decremented Properly When Owned Components are Freed

I create a TPanel and on that Panel I create 2 Panels (in code). Then I free all the components on the panel with the following code.

But if check the amount of components with:

ShowMessage(IntToStr(Panel1.ComponentCount));

The amount is still 2.

for t1:=Panel1.ComponentCount-1 downto 0 do
  begin
  aPanel:=TPanel(Panel1.Component[t1]);
  aPanel.Free;
  end;



Comments Comments
The panel was setting the destroying flag for the component and that was interfering with it being removed from the components list.


Resolution Resolution
Fixed Problem on 9/19/2013 in version 1.03 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image