Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Events not working

I have created a simple vb project using VB B1 AddOn Wizard and i add a form using screen painter.I have added listeners for buttons.After run the application new menu is appearing and pop up the form,but the button events are not working (

<B1Listener(BoEventTypes.et_CLICK, false)> _

Public Overridable Sub OnAfterClick(ByVal pVal As ItemEvent)

Dim ActionSuccess As Boolean = pVal.ActionSuccess

Dim form As Form = B1Connections.theAppl.Forms.Item(pVal.FormUID)

Dim item As Item = form.Items.Item("1")

Dim button As Button = CType(item.Specific,Button)

'ADD YOUR ACTION CODE HERE ...

End Sub

) ,this code is not working when the button is clicked.

Please help me

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question