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
Solved

MSFlexGrid Is Not Scrolling

Posted on 2000-03-01
5
569 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
ID: 2572187
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
ID: 2572221
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
ID: 2575246
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
ID: 2575587
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
ID: 2576158
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run code from text file in vb 1 72
VB6 - Convert HH:MM into Decimal 8 62
Zip Folders Using Chilkat Routines 1 58
VBA: loop recent folder and copy txt file. 8 34
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

860 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