whats the starting position of cell in datagridview

Posted by Oswaldlily under VB.NET on 2/26/2014 | Points: 10 | Views : 794 | Status : [Member] | Replies : 0
I have 10 columns in datagridview..If i click first cell,popup window's starting position should be near first cell..

If i click 2nd cell,popup window's starting position should be near 2nd cell..
If i click 3rd cell,popup window's starting position should be near 3rd cell..

how to change rowindex and columnindex accordingly?


datagridview_cellclick()
{
mPopup.Show(datagridview.PointToScreen(New Point(e.RowIndex + 50, e.ColumnIndex + 43)))

}




Responses

(No response found.)

Login to post response