Skip to Content
0
Former Member
Mar 31, 2008 at 06:54 AM

About Item Events

52 Views

Hi,

I had Desigened A form and It contains some Contrls to it,

I had written code to Whne item pressed, it will not working.

Code Written is

Public Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles sbo_application.ItemEvent

BubbleEvent = True

'Dim EventEnum As SAPbouiCOM.BoEventTypes

'EventEnum = pVal.EventType

If (FormUID = "frmGrid") And (pVal.ItemUID = "BUTTON") And _

(pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And (pVal.BeforeAction = False) Then

sbo_application.SetStatusBarMessage("BUTTON CLICKED")

End If

End Sub

So Please Give me solution

Regards

Srinivas