Solved

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

Posted on 2004-10-01
3
767 Views
Last Modified: 2012-08-13
.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
0
Comment
Question by:AlexF777
[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
  • 2
3 Comments
 
LVL 8

Expert Comment

by:bramsquad
ID: 12200518
   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
 

Author Comment

by:AlexF777
ID: 12200618
MSFLexGrid does not have .CurrentCell ...
0
 
LVL 8

Accepted Solution

by:
bramsquad earned 250 total points
ID: 12201054
doesnt msflexgrid just use row and col for the index??

row = flexgrid.row
col = flexgrid.col

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

738 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