Skip to Content
0
Former Member
Apr 21, 2009 at 05:56 PM

et_form_data_load is not Registering

61 Views

Hi all,

I am trying to catch the et_form_data_load event in code developed by B1DE

I am trying this code xyz.vb! but not working!! error is shown in the last

Option Strict Off

Option Explicit On

Imports B1WizardBase

Imports SAPbobsCOM

Imports SAPbouiCOM

Namespace B1AddOn10

Public Class EditText__CHT_01__q2

Inherits B1Form

Public Sub New()

MyBase.New()

FormType = "CHT_01"

End Sub

<B1Listener(BoEventTypes.et_FORM_DATA_LOAD, False)> _

Public Overridable Sub OnAfterFormDataLoad(ByVal pVal As BusinessObjectInfo)

'''any code e.g. B1Connections.theAppl.ActivateMenuItem("2305")

End Sub

End Class

End Namespace

This error is coming when I run the add on

Error: Listener EditText_CHT_01_q2.OnAfterFormDataLoad

is not supported and will not be registered

I have tried many events but unable to catch it

Please Help to find out the error!!

Best Regards,

Umer Nasim

Edited by: Umer Nasim Mirza on Apr 21, 2009 8:32 PM