on 05-28-2008 12:16 PM
Hi friends
ii write code for select row when click a cell on the row
i wrote the code in the click event but its not working
got Error
Matrix-selection is not supported for this item
the code is
oForm = SBO_Application.Forms.Item(pVal.FormUID);
oMatrix = SAPbouiCOM.Matrix)oForm.Items.Item("GEnMatr").Specific;
oMatrix.SelectRow(pVal.Row, false, false);
Edited by: billu on May 28, 2008 1:16 PM
i fixed the error. before calling oMatrix.SelectRow() method we sholud set selection mode. do like below
oMatrix.SelectionMode = SAPbouiCOM.BoMatrixSelect.ms_Auto;
oMatrix.SelectRow(pVal.Row, true, false);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
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.