Solved

focusing on a certain row in mshflexgrid.

Posted on 2000-02-20
4
196 Views
Last Modified: 2010-05-02
Dear experts.

I would like to find a way to set the focus on a specific row of a mshflexgrid right after it fills up from a recordset.

thanks...
0
Comment
Question by:asaflahv1
[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
4 Comments
 
LVL 6

Accepted Solution

by:
Marine earned 50 total points
ID: 2539805
OK its simple to do that. Say you have 5 columns in your FlexGrid
so it would be like this
This code would do the follwong. It would select 2nd row with 5 columns. Remember that column collection is 0 based. Good luck
msGrid1.Row = 2
msGrid1.ColSel = 4
0
 
LVL 6

Expert Comment

by:Marine
ID: 2539807
msGrid1 is just a name of my FleXGrid.

Cheers , everyone is saying that :-)
0
 
LVL 1

Author Comment

by:asaflahv1
ID: 2540747
thank you...
I didn't notice that property :-)

bye.
0
 
LVL 6

Expert Comment

by:Marine
ID: 2540762
Your Welcome. Best of Luck.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

617 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