FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > FpSpread クラス : HitTest メソッド |
'Declaration
Public Function HitTest( _ ByVal x As Integer, _ ByVal y As Integer _ ) As HitTestInformation
public HitTestInformation HitTest( int x, int y )
private void fpSpread1_CellClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e) { FarPoint.Win.Spread.HitTestInformation hti = new FarPoint.Win.Spread.HitTestInformation(); hti = fpSpread1.HitTest(e.X, e.Y); listBox1.Items.Add(hti.Type); }
Private Sub FpSpread1_CellClick(sender As Object, e As FarPoint.Win.Spread.CellClickEventArgs) Handles fpSpread1.CellClick Dim hti As FarPoint.Win.Spread.HitTestInformation hti = fpSpread1.HitTest(e.X, e.Y) ListBox1.Items.Add(hti.Type) End Sub