Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
20362 | Oct 15,2004 04:49 AM UTC | Oct 15,2004 07:07 AM UTC | WinForms | 6 |
![]() |
Tags: GridControl |
//get the point somehow
//could possible use event args here
//but make sure the point is in the grid''s coordinates
Point pt = grid.PointToClient(Control.MousePosition);
if(grid.PointToRowCol(pt, out row, out col, -1))
{
// row and col now hold their values
}
>//get the point somehow
>//could possible use event args here
>//but make sure the point is in the grid''s coordinates
>Point pt = grid.PointToClient(Control.MousePosition);
>if(grid.PointToRowCol(pt, out row, out col, -1))
>{
>// row and col now hold their values
>}
>
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.