Solved

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

Posted on 2004-10-01
3
771 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

Independent Software Vendors: 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!

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
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Starting up a Project

726 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