depressing all tabs in a tabBar component
Hey....Here's a question:
I have a tabBar for a viewstack, and since I don't specify a selectedIndex in the beginning, all the tabs start out depressed. When I run a trace on the selectedIndex of the tabBar, it returns -1. If I click on a tab, of course the selectedIndex changes to some value from 0 to n-1 based on the tab, but when I try to set the selectedIndex back to -1, it still leaves the last tab depressed.
How do I depress all the tabs?