Skip to Content
0
Former Member
Mar 27, 2009 at 09:20 AM

Problem with FormDataEvent

190 Views

Hi,

I have create the method SBO_Application_FormDataEvent for catching FormDataEvent.

Private Sub SBO_Application_FormDataEvent(ByVal BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent

'If (BusinessObjectInfo.BeforeAction = True) Then

' 'Before Event

'Else

' 'After event

'End If

End Sub

When i try to build my project I have the following Error:

Method 'Private Sub SBO_Application_FormDataEvent(BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean)' cannot handle event 'Public Event FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean)' because they do not have a compatible signature.

What is wrong in this code or in My application?