请问DpDenpyoMan到MultiRow升级时,以下红色部分代码如何实现啊。跪求了。
dim vntItems as Object
With dp
If .SelectedCells.Count > 0 Then
If intKeyCode = System.Windows.Forms.Keys.Delete Then
If .BlockItems(0, 0, vntItems) > 1 Or .BlockInfo(0, 3) > 1 Then
intKeyCode = 0
Call .BlockRemove(0)
End If
Else
If .BlockItems(0, 0, vntItems) > 1 Then
intKeyCode = 0
Call .BlockRemove(0)
End If
End If
End If
End With |
|