TIWTreeView fail on Clear

<< Click to Display Table of Contents >>

Navigation:  Forum >

TIWTreeView fail on Clear

Forum link

 

 

 


 

05-24-2024, 05:12 PM:

 

Hi,

 

        I'm experincing problems with TIWTreeView that persist even in v15.6.1

 

The problem typically is that the ClearAll method drives to frequent exceptions of this type:

 

[2024-05-24, 13:14:41.563] TreeView Before Call [TIWTreeView].ClearAll - Items Count: 450

 

[2024-05-24, 13:14:41.580] TreeView ERROR After  Call [TIWTreeView].ClearAll - Invalid pointer operation

 

[2024-05-24, 13:14:41.789] Access violation at address 0000000000CE4106 in module 'HSCCSManagerWeb.exe'. Read of address 0000000000000000

 

It event is generated if I perfom this sort of individual cleaning:

 

    tvSTtransactions.Items.BeginUpdate;

 

    for var i := tvSTtransactions.Items.Count - 1 downto 0 do

 

    begin

 

        tvSTtransactions.Items.Delete(i);

 

    end;

 

    tvSTtransactions.Items.EndUpdate;

 

No extra information is retrieved from those exceptions. Has anybody solved it in a different form?

 

@Alexandre Machado, could you please check what can be buggy on the sources of the component?

 

Thanks in advance. Regards, Pablo.

 

 

 


 

02-05-2025, 12:24 PM:

 

@Alexandre Machado, had you any chance to check the TIWTreeView?

 

Many thanks in advance.

 

 

 


 

03-03-2025, 09:04 AM:

 

Seems that you are using x64 bit, is that correct?

 

I'll try o recreate it here and let you know.