Hi LuizAmerico,
I have a strange problem with VTV, so the thing is, I'm using it in MacOS / Carbon (Luiz understand, you can not prove in Carbon) and fpc 2.6.2 works fine.
But I need to compile with svn 2.7.1 (09/01/2014) compiles fine, but I have a problem when selecting an item in the tree, you can play the demo "dataArray".
Specifically the exception occurs in VirtualTrees.pas
function TBaseVirtualTree.InternalAddToSelection(const NewItems: TNodeArray; NewLength: Integer;
ForceInsert: Boolean): Boolean;
...
if FSelectionCount + NewLength >= Length(FSelection) then
SetLength(FSelection, FSelectionCount + NewLength); //Exception Occurs here, where variables are FSelectionCount =0 and NewLength=1
...
Luiz any ideas? Phil maybe?
Thanks!