[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] CTabItem selection in a CTabFolder

Hi,

I have a number of CTabItems for my CTabFolder - as expected, a menu shows up at the end with the CTabItems that are not displayed on the folder currently.

For example, lets say that items 1,2,3,4,5 are visible, and items 6 - 15 are not visible, and show up in the popup.

Now lets say that I choose item 15 from the popup for display, I notice that the CTabFolder shows 11,12,13,14, and 15, and selects 15 (which is the RIGHT), and items 1-10 are in the popup. Now when I choose 1, it puts 1-5 on the visible list, and selects 1, (on the LEFT side). Internaly, It seems to be maintaining the relative ordering of the CTabItems

Is there a way where I can always make sure that the items picked from the popup will show up as the right most selection? Therefore, what I am looking for is - say, you have 1,2,3,4,5 in the example above, and I pick 15, it should change to 1,2,3,4,15. After this if I pick 8, it should change to 1,2,3,4,8

Is this possible?

--Partha