Solved

focusing on a certain row in mshflexgrid.

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 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…

776 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