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 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