Atozed Forums
TIWTreeView fail on Clear - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWTreeView fail on Clear (/thread-4180.html)



TIWTreeView fail on Clear - macropolo - 05-24-2024

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.


RE: TIWTreeView fail on Clear - macropolo - 02-05-2025

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

Many thanks in advance.


RE: TIWTreeView fail on Clear - Alexandre Machado - 03-03-2025

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

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