Odd WebControl.MsgBox Text

I have a web app, all I need to do is tell the user that something has happened, so I did this:

MsgBox(“Something Happened”)

It works, but the msgbox says:


From “http://127.0.0.1:8080”:
Something Happened!

How do I get rid of the "http:“http://127.0.0.1:8080”: or change it to something of my own choosing?

The example in the online docs use Me.MsgBox(“Hello, World!”), with no mention of extra text appearing before “Hello, World”…

BTW, I also tried Session.MsgBox and Self.MsgBox with the same result.

I know about WebDialogs, but a regular MsgBox would be much simpler in this case.

It’s the browser that shows the msgbox and adds that bit of info text.
People often have multiple pages/apps open in their browser and that bit of text tells them what page/app showed it.

You can create your own version of the MsgBox using a Dynamic WebDialog. Not very hard to do. Instead of having a Static Web Dialog on a page you create it via the New and then do call the Show.

[quote=216903:@Albin Kiland]It’s the browser that shows the msgbox and adds that bit of info text.
People often have multiple pages/apps open in their browser and that bit of text tells them what page/app showed it.[/quote]

It’d be nice if the documentation explained that

That’s easy to do, that’s what I’ll do - and it won’t have the browser’s “helpful” text…

Thanks!