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

  • Instead of only managing projects organizations do need to manage value! "Doing the right things" and "doing things right" are the essential ingredients for successful software and systems delivery. Unfortunately, with distributed delivery spanning multiple disciplines, geographies and time zones, many organizations struggle with teams working in silos, broken lines of communication, lack of collaboration, inadequate traceability, and poor project visibility. This often results in organizations "doing the …

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds