回复 1楼zhangzm1117的帖子
请使用以下代码测试:
- private void fpSpread1_MouseDown(object sender, MouseEventArgs e)
- {
- FarPoint.Win.Spread.HitTestInformation ht = this.fpSpread1.HitTest(e.X, e.Y);
- if (e.Button==System.Windows.Forms.MouseButtons.Left||ht.Type== FarPoint.Win.Spread.HitTestType.ColumnHeader||ht.Type== FarPoint.Win.Spread.HitTestType.RowHeader)
- {
- return;
- }
- }
复制代码 |