on 2009 Jun 01 3:20 AM
Hi everyone.
I have below code
'====================================
Public Sub DisEvent(ByVal formUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean)
Dim form As SAPbouiCOM.Form
Try
'
form = SBOApplication.Forms.Item(formUID)
If pVal.BeforeAction Then
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
'----
'ITEM_PRESSED
'----
Select Case pVal.ItemUID
'Run button
Case "3"
OutPutData(form)
End Select
End Select
End If
Catch ex As Exception
'
ShowErrMsg(ex.ToString)
Throw ex
End Try
End Sub
'----
Private Sub OutPutData(ByRef form As SAPbouiCOM.Form)
Dim executing As String
Try
'
form.Items.Item("105").Visible = True
executing = form.Items.Item("105").Specific.Caption() 'display "Running"
Catch ex As Exception
Throw ex
End Try
End Sub
'=================================================
when I press firmly at "Run" button ,it was properly displayed .
but if I press lightly,it wont display.
It didnt happen on 2005 version.
Anyone know that reason or how to fix it?Thanks
I am using :
B1 version: PL09
SDK: 2007
Request clarification before answering.
Hi MLTR,
You can use the EventLogger tool (part of B1DE) to see which events are triggered upon your button clicks. It is possible that no event is generated when you press it not so firmly.
HTH
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a B1DE version for VS 2003 as well. Refer to the bottom of this link https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7 [original link is broken]
You can try this link to download & install the EventLogger tool alone without B1DE
Is there any problem with SDK?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried Application.DoEvents ,but it doesnt work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
9 | |
8 | |
7 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.