Solved

scrollable container?

Posted on 2000-02-25
4
307 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 Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

861 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