Hi
I have a datagrid that when I double click on a line it display all the information linked to this line in text box.
I would like to do the same thing with the click event. So when the user click on the grid I call the even dbclick. But the thing is that the click event doesn't seem to have selected the right line yet. Because when I only click it display the information about the old line.
For example I'm on the line1
when I click on the line2 it display me the information of the line1.
Supposed that I still on the the line1
I dbclick on the line2, it display me the information of the line2. (as it supposed to)
I call the same procedure for both click and dbclick event.
Does somebody have any idea how I could solve it?
Thanks in advance
I have a datagrid that when I double click on a line it display all the information linked to this line in text box.
I would like to do the same thing with the click event. So when the user click on the grid I call the even dbclick. But the thing is that the click event doesn't seem to have selected the right line yet. Because when I only click it display the information about the old line.
For example I'm on the line1
when I click on the line2 it display me the information of the line1.
Supposed that I still on the the line1
I dbclick on the line2, it display me the information of the line2. (as it supposed to)
I call the same procedure for both click and dbclick event.
Does somebody have any idea how I could solve it?
Thanks in advance