scrollable container?

I want to have a scrollable container in VB.  Lets say I am having 40 text boxes to display in a SSTab control and my tab height is constrained by some other factors.  So I need a scrollable container (similar to Java's scrollpane). How can I implement it in VB ?  
LVL 5
jamovilleAsked:
Who is Participating?
 
Erick37Connect With a Mentor Commented:
0
 
VbmasterCommented:
If you use Erick37's solution you will use the standard VB scrollbars and they... suck big times, or perhaps you like the flashing behaviour of the control when it has the focus. ;)

A nicer solution is to use subclassing and show *real* win32 scrollbars, these scrollbars are just like in all other appz, do not blink/flash or whatever when they have focus - the program looks more professional this way.

There is a example project showing how to do a scrollable form with these real win32 scrollbars at...

  http://www.vbaccelerator.com/codelib/ssubtmr/sbrclass.htm
0
 
jamovilleAuthor Commented:
Looks ok to me. Thanks
0
 
Roland9Commented:
Hope you like your free lunch, dude...
0
All Courses

From novice to tech pro — start learning today.