Hello,
I am using a datagrid on a database form in VB from which I would like to be able to establish and perform a piece of code upon a double click within the cell.
My dilema is that while in the edit mode of the form, when I double click on a any cell in the datagrid, the entire datagrid is selected and takes me to the following:
Private Sub grdButton_Assignment_Table_Navigate(ByVal sender As System.Object, ByVal ne As System.Windows.Forms.NavigateEventArgs) Handles grdButton_Assignment_Table.Navigate
End Sub
I can find no reference in the MSDN libraries that would show how one could trap on a double click within a cell and add code to that trap.
If I can not trap on a double click then I could otherwise allow the user to select a file through a button trap (which I have tried) however I can find no method for pushing the subsequent string of data into the last selected cell in the datagrid.
Any ideas?
I am using a datagrid on a database form in VB from which I would like to be able to establish and perform a piece of code upon a double click within the cell.
My dilema is that while in the edit mode of the form, when I double click on a any cell in the datagrid, the entire datagrid is selected and takes me to the following:
Private Sub grdButton_Assignment_Table_Navigate(ByVal sender As System.Object, ByVal ne As System.Windows.Forms.NavigateEventArgs) Handles grdButton_Assignment_Table.Navigate
End Sub
I can find no reference in the MSDN libraries that would show how one could trap on a double click within a cell and add code to that trap.
If I can not trap on a double click then I could otherwise allow the user to select a file through a button trap (which I have tried) however I can find no method for pushing the subsequent string of data into the last selected cell in the datagrid.
Any ideas?