?
Solved

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

Posted on 2004-10-01
3
Medium Priority
?
788 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 1000 total points
ID: 12201054
doesnt msflexgrid just use row and col for the index??

row = flexgrid.row
col = flexgrid.col

0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
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 …
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 …

850 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