I have create a UI Matri with checkBoxes in its cells.
I have the following issue:
When a CheckBox in the matrix is checked, I want the specific cell to get colored at the same moment. My code colors the specific cell,
when another checkbox is clicked. Is there any way to perform?
The code I use is the following:
If (pVal.Before_Action = False And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
Dim checkForm As SAPbouiCOM.Form
Dim checkMatrix As SAPbouiCOM.Matrix
checkForm = SBO_Application.Forms.ActiveForm
checkMatrix = checkForm.Items.Item("MtrxChk").Specific
checkMatrix.CommonSetting.SetCellBackColor(1, 3, 220)