Here is my take on a modern browser-like TabStrip, which incorporates all of the features found in such controls such as animated open and closing of tabs, drag and drop to re-arrange, etc.
The important files in the demo are cwTabStrip.cls and cwTabStripButton.cls which are the 'engine' of the control itself. cTabStrip.cls is just a thin wrapper around these in order to expose the public interface
The TabStrip can be initialised with the following boolean parameters UserCanAddTabs, UserCanCloseTabs, UserCanDragTabs which govern the behaviour of the control and mean that it can (if wanted) be used as just a regular tabstrip that the user cannot change.
And here is the demo:
![Name: ts.jpg
Views: 59
Size: 17.9 KB]()
The important files in the demo are cwTabStrip.cls and cwTabStripButton.cls which are the 'engine' of the control itself. cTabStrip.cls is just a thin wrapper around these in order to expose the public interface
The TabStrip can be initialised with the following boolean parameters UserCanAddTabs, UserCanCloseTabs, UserCanDragTabs which govern the behaviour of the control and mean that it can (if wanted) be used as just a regular tabstrip that the user cannot change.
And here is the demo: