Solved

scrollable container?

Posted on 2000-02-25
4
310 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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
Course of the Month6 days, 23 hours left to enroll

622 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