Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
11201 | Feb 26,2004 02:10 PM UTC | Feb 26,2004 06:32 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
Point pt = this.gridControl1.PointToClient(Control.MousePosition); int row, col; if(this.gridControl1.PointToRowCol(pt, out row, out col, -1)) { GridRangeInfo range = this.gridControl1.CoveredRanges.FindRange(row, col); if(!range.IsEmpty) { //range.Top and range.Left hold the top corner of covered range of teh click.... } }
>Point pt = this.gridControl1.PointToClient(Control.MousePosition); >int row, col; >if(this.gridControl1.PointToRowCol(pt, out row, out col, -1)) >{ > GridRangeInfo range = this.gridControl1.CoveredRanges.FindRange(row, col); > if(!range.IsEmpty) > { > //range.Top and range.Left hold the top corner of covered range of teh click.... > } >} >
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.