danlan 你好,
5# 中的问题没有重现,请发 Demo 到论坛调试。
6# 可以设置参数 Cancel 为 True 保持焦点保持在原编辑行。
- Private Sub fpSpread1_LeaveRow(ByVal Row As Long, ByVal RowWasLast As Boolean, ByVal RowChanged As Boolean, ByVal AllCellsHaveData As Boolean, ByVal NewRow As Long, ByVal NewRowIsLast As Long, Cancel As Boolean)
- Cancel = True
- End Sub
复制代码 |