Solved

focusing on a certain row in mshflexgrid.

Posted on 2000-02-20
4
192 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

752 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