hi i want to use Tab in my forms, i added Microsoft Windows Common Control 6.0 n tried to use tabstrip but it does'nt help, i cant add my controls to tabstrip.
The Tabstrip is useless. You need to create a frame for each tab you want to have. Then add your controls to
the frames. Then show/hide each frame in respect to the tab being clicked.
An easier solution is to use the SSTab control is in windows common controls. It is a true container control.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
There are two Tab controls available: TabStrip (the one you're trying to use) and SSTab (MS Tabbed Dialog in the components list).
To use first you will need to add a container such Picturebox or Frame for each tab you create so you can show/hide appropriate ...
With SSTab it's a bit easier - each atb acts like container, however this control has many many unresolved problems which quite often lead you to more serious issues.
My personal preferences - TabStrip from Win Common library.
Using the SSTab control, there is no sample code. You just click the tab you want to add controls to, etc.
Then when you run your form cand click on each tab, it changes the related control to the selected tab.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
You don't add anything "to it" - you create a "stand along" controls but you'll control them in the way I've already show you in my earlier sample.
Also, to add more tabs right click on the control and follow simple on-screen wizard.
You may do at run time but nthat would be the next step for you ...
The SSTab control or Rhinos favorite - TabStrip from Win Common library. I havent seen Rhinos
suggestion but either of the two are better then the tabstrip.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
The SSTab control or Rhinos favorite - TabStrip from Win Common library. I havent seen Rhinos
suggestion but either of the two are better then the tabstrip.
Well yeah I have been using the SSTab control myself and I find it better than tabstrip.
Jobs: "Do u want to sell colored sugar water or change the world?"