If you add a WebLink to a page and then add a Msgbox command to the MouseUp event like this:
MsgBox "Hello World!"
The problem is that the WebLink is expecting to have a URL associated with it. Leaving it blank and clicking anywhere on the text of the link causes the page to refresh, clicking outside of the text (but still on the control) will execute the code in the MouseUp event.
So how do you get the whole control to behave? In the URL field, type this: