on 08-19-2011 8:27 AM
hi all
how do we check the selectd row from matrix, i had creaded following code
Dim x As Integer
For x = 1 To oMatrix.se
If oMatrix.IsRowSelected(x) = False Then
SBO_Application.SetStatusBarMessage("No Row Selected.!!........", SAPbouiCOM.BoMessageTime.bmt_Short, True)
BubbleEvent = False
Exit Sub
End If
Next
but it wont work it just select the valu form last row if matrix have more than one row...
plz help me
thanks in advance
Hi
You can use the GetNextSelectedRow method to get the selected row
Dim oMatrix As SAPbouiCOM.Matrix = _form.Items.Item(_matrixUID).Specific
Dim selRow As Integer = oMatrix.GetNextSelectedRow(0, BoOrderType.ot_SelectionOrder)
Hope this helps
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishor,
Try This....
For i As Integer = 1 To omatrix.RowCount
If omatrix.IsRowSelected(i) = True Then
sbo_application.MessageBox("Row" & i & "is Selected")
End if
Next
Thanks
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.