MSFlexGRID Double-Click on cell ( how to determine Cell's Col and Row ) ?

.ColSel and .RowSel ?   or  .MouseCol and .MouseRow ?

somehow, .MouseRow does not seem to work properly ( always shows #Rows - 1 )

.ColSel and .RowSel seems to work better, although when double clicked on 1 - st ( fixed ) row,
#Rows - 1 shows up ...

-Al
AlexF777Asked:
Who is Participating?
 
bramsquadConnect With a Mentor Commented:
doesnt msflexgrid just use row and col for the index??

row = flexgrid.row
col = flexgrid.col

0
 
bramsquadCommented:
   Private Sub DataGrid1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.DoubleClick
        Dim row, col As Integer

        row = DataGrid1.CurrentCell.RowNumber
        col = DataGrid1.CurrentCell.ColumnNumber

    End Sub

~b
0
 
AlexF777Author Commented:
MSFLexGrid does not have .CurrentCell ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.