Link to home
Start Free TrialLog in
Avatar of netimpact
netimpactFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How Do I Create TABs That Scroll Left or Right Vertically (VB)

This is a Windows Forms App.
How do I create TABs that scroll left or right which will not fit in the
space that I have allowed for in screen real estate.

I have a VB form that have more than one tab control. I will keep adding more
tabs if new features are added to the app and I would like to
get the other tabs scrolling to the left or right (normally a small button controls
the vertical left, right movement of the tabs) rather than piling
on top of each other in the space that I have provided them. Any ideas?

Can I please get a full solution with sample code that will work? thx
Avatar of rionroc
rionroc
Flag of United States of America image

Hello



At the TabControl1 Properties, Go to TagPages property, Click the Collection [...].  Click [Add] then OK.

That's it!

You don't have to add Tab Control every time there is a new application to load.




Great is our GOD.
:)
rionroc
Avatar of netimpact

ASKER

rionroc:

You mis-understood my question. I do know how to add Tab Control.

I have a lot of Tab Controls and I want to scroll them left and right at run-time.
I hope you understand. If not I will clarify, thx.
OK


While not put a big Tab Control over your form, and each tab page has tab control, and another, so you can select any main tab page you want, by clicking left or right.


Great is our GOD.
:)
rionroc

rionroc:

Please see the attached file for clarity, thx
SomeTabs-02.jpg
In my program I get the image below instead. How to I fix that to scroll?
SomeTabs-No-Scroll-01.jpg
Ha!

How come your tab control is like that? Now I get want you really want.  I wonder about your vs.

What version of vs are you using?

:)
rionroc
vs 2008. Are we going in circles here? Can you do this and show me how to do this? thx
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Op!

Here you go, there's the answer of Sage Webtubbs.

>>I have a VB form that have more than one tab control.  ''Your Post.

I finally pictured it out, that your problem is only 1 tab control with a lot of tag pages.

Probably you have explored to much that enables you to open a problem.

Good Luck!
Happy coding.

Great is our GOD.
:)
rionroc
webtubbs:

This is great! It did indeed fix my issue, thx.