A Tab Control - VB5/6 | CodeGuru

A Tab Control – VB5/6

This code demonstrates how to create your own tab control without using the common controls OCX or the Windows API – this can result in smaller program distributions. Run-time image: Design-time controls: Tabs – without using the Tab-control PROJECT NAME Tab.vbp ENVIRONMENT This is a VB5 project, which will run under Windows 9x. No other […]

Written By
CodeGuru Staff
CodeGuru Staff
Jan 30, 2004
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

This code demonstrates how to create your own tab control without using the common controls OCX or the Windows API – this can result in smaller program distributions.

Run-time image:
screen-shot

Design-time controls:
screen-shot

Tabs - without using the Tab-control

PROJECT NAME
 	Tab.vbp

ENVIRONMENT
	This is a VB5 project, which will run under Windows 9x.
	No other than basic VB-controls are used.

YOU CAN LEARN
	A little bit about using VB drawing commands
	It's sometimes rewarding not to use controls. Mostly
	because the resulting projects stand on their own, are smaller
	and easier (or faster) to distribute. In addition, you
	keep everything in your own hands. Here in this case it only
	envolves some variables and two routines.
	...
COPYRIGHT
	None. I made the code myself and everybody is free
	to use it.

RUNTIME FILES
	none

CODE FILES
	Tab.vbp/.vbw

	frmOptions.frm

Download Zipped File (3k)

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.