在你的DoubleClick事件最前面加上[e.Cancel = True]就可以了。Private Sub FpSpread1_CellDoubleClick(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.CellClickEventArgs) Handles FpSpread1.CellDoubleClick e.Cancel = True intRowIndex = Me.FpSpread1_Sheet1.ActiveRowIndex Dim childForm As Form2 = New Form2 childForm.ShowDialog() End Sub
e.Cancel = True
intRowIndex = Me.FpSpread1_Sheet1.ActiveRowIndex Dim childForm As Form2 = New Form2
childForm.ShowDialog()
End Sub