Skip to Content
Former Member
Jun 06, 2006 at 09:57 AM

Make Matrix Row being Selected?


How to select and highlight a row in System Matrix? I try to select a row in matrix on Sale Order Form but that row would highlight or selected. This is my code:

If pVal.Before_Action = False And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then

If pVal.ItemUID = "AutoSelect" Then

Dim oMatrix As SAPbouiCOM.Matrix

oMatrix = SBO_Application.Forms.Item(FormUID).Items.Item("38").Specific

oMatrix.SelectRow(1, True, False)

End If

End If