VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Tabstrip project

David VanHook  (2 Submissions)   Complete Applications   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This is a tabstrip project. By using an array, you can decide which tab container should be shown. Whatever you want to show when that tab is clicked goes into a container. I searched for months trying to learn about tabstrips and I hope this code helps someone else out.

Assumes
In order to use the tabstrip control you must make each tab a seperate container. For four tabs, you need four containers. By using a control array, you scroll through the containers depending on which tab you have selected. For this project I used picture boxes as the containers. In the form load procedure, the containers are made hidden so that only the one selected is visible. Also, the border is set to zero at form load. This is because when you're working on the containers, it's easier if you can see the border. At run time, you don't need the container to show, only the items you put into the container.

Rate Tabstrip project (7(7 Vote))
Tabstrip project.bas

Tabstrip project Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters