Delete row event
How do we know if a user deleted a line by the right click on the line and pressing Delete row ?
Or any way to know that a user is deleting a line so we can take action if so ?
Petr Verner replied
Im doing it as
If pVal.MenuUID = "1293" And pVal.BeforeAction = False Then Dim oform As SAPbouiCOM.Form oform = SBO_Application.Forms.ActiveForm If oform.UniqueID = "xform" Then Dim omatrix As SAPbouiCOM.Matrix omatrix = oform.Items.Item("Matrix1").Specific Dim q As Integer = 1 For q = 1 To omatrix.RowCount If omatrix.IsRowSelected(q) Then omatrix.DeleteRow(q) -- here in q is selected row End If Next End If End If