Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

focusing on a certain row in mshflexgrid.

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
asaflahv1
Asked:
asaflahv1
  • 3
1 Solution
 
MarineCommented:
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
 
MarineCommented:
msGrid1 is just a name of my FleXGrid.

Cheers , everyone is saying that :-)
0
 
asaflahv1Author Commented:
thank you...
I didn't notice that property :-)

bye.
0
 
MarineCommented:
Your Welcome. Best of Luck.
0

Featured Post

Industry Leaders: 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!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now