Atozed Forums

Full Version: TIWTreeView fail on Clear
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
@Alexandre Machado, had you any chance to check the TIWTreeView?

Many thanks in advance.