InterviewSolution
| 1. |
What Is Bubbleevent? |
|
Answer» BUBBLEEVENT specifies whether the EVENT will be processed by SAP Business One or not.If BubbleEvent=True ,then SAP Business One will PROCESS the event else the execution will terminate.For eg, If pVal.EventType = BoEventTypes.et_CLICK And pVal.Action_Success = True And pVal.FormUID = “F_32” And pVal.ItemUID = “btnSave” Then BubbleEvent=False End If In the above code,click event of save button is handeled.When the USER CLICKS on the save button,then first the above code will execute and then it will be handeled by SAP Business One.Here I have set BubbleEvent=False.So the click event will terminate and SAP Business One will not handle the event. BubbleEvent specifies whether the event will be processed by SAP Business One or not.If BubbleEvent=True ,then SAP Business One will process the event else the execution will terminate.For eg, If pVal.EventType = BoEventTypes.et_CLICK And pVal.Action_Success = True And pVal.FormUID = “F_32” And pVal.ItemUID = “btnSave” Then BubbleEvent=False End If In the above code,click event of save button is handeled.When the user clicks on the save button,then first the above code will execute and then it will be handeled by SAP Business One.Here I have set BubbleEvent=False.So the click event will terminate and SAP Business One will not handle the event. |
|