on 10-03-2008 11:36 AM
Hi
I create a menu and assign 9 forms its ok but when i execute the programme first all are open after 1 0r 2 mins no one form is open .What is the problem?Is there any time out?
Also you need to close the form using ItemPressed Event Handler:
Public Sub SBO_ManageItemEvent( _
ByVal FormUID As String, _
ByRef pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean _
)
Dim oForm As SAPbouiCOM.Form
Try
oForm = SBO_Application.Forms.Item(FormUID)
Catch ex As Exception
oForm = Nothing
End Try
If Not oForm Is Nothing Then
Select Case oForm.TypeEx
Case "YOUR_FORM_TYPEX"
If pVal.EventType = BoEventTypes.et_ITEM_PRESSED Then
If pVal.ItemUID.Equals("btnGoBack") Then
oForm.Close()
End If
End If
...
End Sub
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.