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


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

	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.
	None. I made the code myself and everybody is free
	to use it.




Download Zipped File (3k)


  • Good Code

    Posted by Legacy on 12/17/2003 12:00am

    Originally posted by: Vimalraj Kanagaraj

    Thanx for puuting this helpful code on the net.

  • Well

    Posted by Legacy on 07/17/2003 12:00am

    Originally posted by: Thava

    Realy grate.

  • Comments on the tab Controls

    Posted by Legacy on 09/24/2002 12:00am

    Originally posted by: Shawn P

    The Tab controls are simple and nice. By the way Venkat V you can place textboxs in the tab by going to the View Object mode and simply adding the text box to the tab space on the right. Thanks Stefann. And by the way I don't know much about VB and I still managed to figure how to put controls on the tab.

  • Cool control

    Posted by Legacy on 04/07/2002 12:00am

    Originally posted by: Vetri Selvan

    The conrol is cool, I like it very much. Thankyou for letting the code to be used.

  • Controls

    Posted by Legacy on 12/18/2001 12:00am

    Originally posted by: Bill J.

    Very Nice Work...

  • Yes very useful!

    Posted by Legacy on 05/09/2001 12:00am

    Originally posted by: Ron

    I came across the page about this non-control control and by just looking at the screen shots, how simple do you want?
    I agree with Peter in that I cannot understand the criticism. I have not even ran the code or even looked at it yet and just looking at the screen shots is self explanitory. It has lots of uses.


  • Very useful tabcontrol!

    Posted by Legacy on 12/17/2000 12:00am

    Originally posted by: Peter

    Now that I have read all the criticism of this tabcontrol which I can not understand, I would just like to say that I think it is a very useful "homemade" control. Very easy to expand, and it addresses my biggest concern when having to use a new non-intrinsic control: the deployment of yet another ocx.


  • tabcontrol

    Posted by Legacy on 09/19/2000 12:00am

    Originally posted by: Hetal


    I had seen this tab control example this is totally useless control example no one can use in their applicaion..

    so u should give some meaningful example so that user can use it that example and take it as a reference


  • A Tab Control - VB5/6

    Posted by Legacy on 04/13/2000 12:00am

    Originally posted by: Venkat.V

    Dear Stefaan,

    I don't think that it is musc useful because it does'nt have any genuine tab control propertys. I could not even
    place a text box in the required tab.

    Sorry ,it is only my feeling but not critic.


Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As the mobile enterprise marketplace expands and customer needs grow more diverse, Samsung recognizes that solution partners and developers play an essential role by continually innovating to meet their customers' needs. Samsung works to provide these developers and partners with the latest tools and resources needed to create these solutions. Read this program guide to learn how the Samsung Enterprise Alliance Program provides partners and developers with Samsung enterprise software development kits (SDKs) …

  • Moving from an on-premises environment to Office 365 does not remove the need to plan for disruptions or reduce the business risk requirements for protecting email services. If anything, some risks increase with a move to the cloud. Read how to ease the transition every business faces if considering or already migrating to cloud email. This white paper discusses: Setting expectations when migrating to Office 365 Understanding the implications of relying solely on Exchange Online security Necessary archiving …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date