TreeItem Deselect Not Working

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Motenrain

I can’t get the TreeItem Deselect method to work (Using row select mode). Does anyone have any idea why this is the case?

        tI.Select(0); //Works fine
        tI.Deselect(0);// None of these work
        tI.Deselect(1);// ^
        tI.Deselect(2);// ^
        tI.Deselect(3);// ^
        tI.Deselect(4); // ^

If anyone has any clue why this isn’t working that would be great.
Thanks