PDA

Click to See Complete Forum and Search --> : VB6 - PictureTabs: A Simple Tab Control


culloden
Jun 11th, 2007, 05:32 AM
PictureTabs is a simple, lightweight, and modern looking alternative to a full tab control. It was created using just the Picture, Label, and Line controls.

It consists of 5 control arrays:
- picTab(): The tabs
- lblTabText(): The captions for each tab.
- line1TabTop(): The colored lines showing which tab is selected
- line2TabTop(): ""
- picPanel(): The Picture controls that act as panel containers

This sample comes with 5 tabs. To add or remove tabs, just copy or delete picTab() and picPanel() elements, but make sure that you maintain control array names and index order.

If anyone has comments or feedback to improve it, please let me know.