cancel
Showing results for 
Search instead for 
Did you mean: 

Matrix Cell Lost Focus in Before Action-True

Former Member
0 Kudos

Hi,

I have matrix in one form.This is connected with the no object table. The matrix has 3 columns namely Itemid, tool id and issue no. While i am entering the data in the cells, the validation should take place. The tool id and issue no columns should be left empty when it is focused lost. But the lost focus event is not working with in before action=True.

Can any one help me why this event is not working and how to move on further for this problem?

Thank You in advance!

B.Roseline Christina

Accepted Solutions (0)

Answers (1)

Answers (1)

Nussi
Active Contributor
0 Kudos

Hi,

i faced the same problem already. it looks like that et_LOST_FOCUS only releases "BeforeAction = false".

write your code that way that it works with BeforeAction = false.

lg David

Former Member
0 Kudos

hi.

am not getting what you are trying to tell. I want to do my validations in the matrix. So is there any other alternatives for that?

Please......

B.Roseline Christina

former_member682029
Contributor
0 Kudos

Roseline ,

Try to code in et_Validate event instead of et_Lost_Focus()

case SAPbouiCOM.BoEventTypes.et_VALIDATE:
if (pVal.ItemUID == "mtx" && pVal.ColUID == "clm" && pVal.BeforeAction == true)
{
     if(CellValue == "")
         BubbleEvent = False;
}

Anoop