Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1461

[vbRichClient] TabStrip Control (Firefox-like)

$
0
0
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
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 1461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>