Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWTreeView fail on Clear
#1
Bug 
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)