Solved

MSFlexGrid Is Not Scrolling

Posted on 2000-03-01
5
558 Views
Last Modified: 2012-05-04
I have a MSFlexGrid which is not scrolling up and down. The vertical scroll bar is visible but on dragging down simply bounces back to the top of the grid.

If I click on cell in the MSFlexGrid and use the arrow keys on my PC I can move up and down the grid.

Can anyone suggest why my scroll bar is not working?
0
Comment
Question by:kenmck
5 Comments
 
LVL 3

Expert Comment

by:sreenathk
Comment Utility
i Think the scroll works only if you have some data in teh down columns. Try this way, put some data in the down columns and then try to scroll it using mouse.
The arrow keys works fine because somebody has to enter data in only down columns, you should be able to go there. The mouse scrolling works only if you have data there.

Sreenath
0
 

Author Comment

by:kenmck
Comment Utility
I have about 30 records in the down columns of which you can see about 10 records, thus the need to scroll down and see the other 20 records.

The only way I can see these records is to click in a cell and use the Keyboard arrow keys to move down the records.
0
 
LVL 28

Expert Comment

by:AzraSound
Comment Utility
very strange...you have your grid bound to a data control correct?  there arent any recursive functions in the background that are updating the database when the grid receives focus are there?
0
 

Author Comment

by:kenmck
Comment Utility
Data is displayed in the grid, thus I think that the grid is bound to the data correctly.

There are no recursive functions.
0
 

Accepted Solution

by:
pro_jacob earned 50 total points
Comment Utility
Hi kenmck,

I had a simmilar problem. What happend is that the click or focus event of the grid was executed when i moved the scroll bar.

In one of those events i used code that caused the list bouncing back to the top.

Just try to disable the code in the grid events and see what happens.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now