Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

scrollable container?

Posted on 2000-02-25
4
Medium Priority
?
312 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 300 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

688 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