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


Comments

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

    Reply
  • Well

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

    Originally posted by: Thava

    Realy grate.
    

    Reply
  • 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.

    Reply
  • 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.

    Reply
  • Controls

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

    Originally posted by: Bill J.

    Very Nice Work...
    

    Reply
  • 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.

    Thanks
    Ron

    Reply
  • 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.

    ---
    Peter

    Reply
  • tabcontrol

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

    Originally posted by: Hetal

    Hi

    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

    Hetal

    Reply
  • 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.

    ---Venkat.V

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

Top White Papers and Webcasts

  • On-demand Event Event Date: March 19, 2015 The 2015 Enterprise Mobile Application Survey asked 250 mobility professionals what their biggest mobile challenges are, how many employees they are equipping with mobile apps, and their methods for driving value with mobility. Join Dan Woods, Editor and CTO of CITO Research, and Alan Murray, SVP of Products at Apperian, as they break down the results of this survey and discuss how enterprises are using mobile application management and private app stores to …

  • Today, users, applications, and data exist in more places than ever before, creating an unprecedented challenge for IT. How can IT achieve the flexibility and agility it needs to offer multiple types of applications in multiple locations? To better serve business demands for information everywhere, enterprises must develop new strategies for optimizing multiple kinds of networks. Read this white paper to learn how hybrid networks provide an unprecedented level of network dynamism, enterprise agility, and the …

Most Popular Programming Stories

More for Developers

RSS Feeds

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