Results 1 to 1 of 1

Thread: Resolved -- Datagrid -- doubleclick

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Hendersonville , NC
    Posts
    260

    Question Resolved -- Datagrid -- doubleclick

    I have this code...

    Private Sub DataGrid1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.DoubleClick
    Dim dgds As Object = DataGrid1.DataSource.ToString
    Dim currentrow As Integer
    currentrow = Me.DataGrid1.CurrentRowIndex
    Me.DataGrid1.Select(currentrow)


    When I doubleclick on a cell .. I can control and get the cell info I need. This if for when the user doubleclicks on the entire row (outside margin of the grid box) I get the row returned, but how do I set it to get cell data from that?
    Thanks
    Last edited by gollnick; Apr 14th, 2003 at 05:33 AM.
    William E Gollnick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width