Solved

scrollable container?

Posted on 2000-02-25
4
308 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

726 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