Solved

MSFlexGrid Is Not Scrolling

Posted on 2000-03-01
5
578 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
[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
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

690 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