Solved

scrollable container?

Posted on 2000-02-25
4
300 Views
Last Modified: 2008-03-17
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 ?  
0
Comment
Question by:jamoville
4 Comments
 
LVL 32

Accepted Solution

by:
Erick37 earned 100 total points
ID: 2558259
0
 
LVL 7

Expert Comment

by:Vbmaster
ID: 2558430
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
 
LVL 5

Author Comment

by:jamoville
ID: 2558488
Looks ok to me. Thanks
0
 

Expert Comment

by:Roland9
ID: 2558537
Hope you like your free lunch, dude...
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now