Solved

Flex Grid Scrolling

Posted on 2003-11-20
3
1,542 Views
Last Modified: 2011-09-20
Hello Experts ,
    Suppose a flex grid contains more rows than the visible area of it . So that user scroll the grid contains to see bottom values.
    If i want to find out some information in the grid , it can be done using For Loop.but if the information is located below to the visible area of grid ,user has to manually scroll grid contains to see information.my question is - : how can i scroll the Flex grid automatically so that the information can be located into the visible area of grid ?
0
Comment
Question by:asdddd
3 Comments
 
LVL 7

Accepted Solution

by:
Smallint earned 50 total points
ID: 9789185

Try this when you have finished adding items:

MSFlexGrid1.TopRow = MSFlexGrid1.Rows - 1

Cheers
0
 
LVL 9

Expert Comment

by:dancebert
ID: 9789358
Loop through grid cells until you find what you're looking for, say in row N. Then do:
MSFlexGrid1.TopRow = N
0
 

Author Comment

by:asdddd
ID: 9798578
Hello Experts ,
    THank u for the answer . It is really a simple one.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
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…

828 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