Community
Participate
Working Groups
Could you change CTabFolder and TabFolder to not auto select the first tab that is created? By doing so, it will reduce so draw flash in CTabFolder. Eclipse UI already determine which tab should be selected anyway. PS Sorry for changing our minds again ;-) NOTES: SN (4/19/01 10:35:48 AM) For now, we will take out the initial selection for CTabFolder but not all platforms support this natively. We would like to keep the initial selection and fix your code for the next release to avoid the flash. McQ (26/06/2001 1:07:39 PM) - Agree with SN. The first tab should be "selected". Question: Can we just avoid doing the callback? Note: This would require changes in the application code, so it may be too late to fix this.
PRODUCT VERSION: 0.045
Currently, the behaviour is that when an item is created (including the first item) it does not get selected. However, when the CTabFolder gets focus, if no item has been selected, the first item is selected. TabFolder selects the first item created. Do we need to do anything with this bug report any more?
Did you just add this new behavior or has that been in there since release 1.0? If since 1.0, then yes you can close this PR. If new code, then we'll need to try it out. I cannot remember now what the scenario was that was causing this flash. Maybe at creation time when we add a bunch of tab and then select the one we know should be selected.
There is no auto select as per the request of the UI team.