Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordappend challenge 8 172
Help to convert powershell script into a gui 9 169
control image tags in a string ? 12 129
Math Equation 23 82
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

774 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