Solved

Flex Grid Scrolling

Posted on 2003-11-20
3
1,549 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
[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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

691 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