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: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

  • Webinar on September 23, 2014, 2 p.m. ET / 11 a.m. PT Mobile commerce presents an array of opportunities for any business -- from connecting with your customers through mobile apps to enriching operations with mobile enterprise solutions. Join guest speaker, Michael Facemire, Forrester Research, Inc. Principal Analyst, as he discusses the new demands of mobile engagement and how application program interfaces (APIs) play a crucial role. Check out this upcoming webinar to learn about the new set of …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds