on 05-30-2005 9:26 AM
Hi,
i've got a problem with Application.Messagebox.
I'm loading a form from xml. after that i send a messagebox. If i click on the ok-button everything works fine.
but if i send a messagebox from the event handling (eg after button_click) the messagebox will be shown, but if i click 'ok' my application will be shut down.
changing the status bar by application.statusbar.settext works.
I hope you understand what my problem is.
Looking forward to your help.
Hi,
I read somwhere to put this code at the top of the event handling routine... Anyway I don't use it in my code.
Private Sub sboApplication_ItemEvent(ByVal FormUID As String, pVal As SAPbouiCOM.IItemEvent, BubbleEvent As Boolean)
On Error GoTo ItemEventErrHandler
<b>
If pVal.FormType <> 0 Then 'Not a MsgBox Event
'Process event here
End If
</b>
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.