[Last Call] Learn how to a build a cloud-first strategyRegister Now


Horizontal scrollbar in VB6 (XP) weird behaviour

Posted on 2004-12-01
Medium Priority
Last Modified: 2013-12-25
I have two horizontal scrollbars on a form, each in a different frame. When I click on the scroll arrow it keeps scrolling. I have some code in the Change event that sets a textbox value.

The problem only appeared when I added the second scrollbar and I have another form with 8 scrollbars and no problems.

One thing: there is a Smartui Tabstrip on the form at the left (vertical). Sometimes when the weird behaviour starts and I keep clicking the frames move over and cover the Tabstrip.
Question by:manno
1 Comment
LVL 17

Accepted Solution

vb_elmar earned 750 total points
ID: 12725722
To prevent that the frames cover the Tabstrib send a ZOrder command to the Tabstrib, like this:

Tabstrib1.ZOrder (0)

Then, the Tabstrib moves to the foreground.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 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