HTMLViewer Error Question

Could i ask one of you fine people how to use the error event on the HTMLViewer?

i’ve tried

messagebox(errorMessage)

return

But this does nothing that i can see (When i turn my internet off to test), and the language reference is pretty vague.

Thank you in advance!

The documentation says the errors are HTTP errors, so I don’t think this is how you’ll catch network errors (like turning off internet).
https://documentation.xojo.com/api/deprecated/htmlviewer.html#htmlviewer-error

1 Like

:man_facepalming:
oh, well… that make sense.

Really dont know why i didn’t realise that.

Thanks Tim!