Xojo web msgbox

broken image
broken image

But I think setting the picture is something you want to do in Open.

broken image

I just tested this as well and it works fine.Ī lot of control manipulation has to be done in Shown after the page has loaded on the client.

broken image

But there’s not the added delay of waiting for the initial page load performing an event round trip to the server and then finally starting the image download. There may still be a delay for large pictures and/or slow connections. Setting these properties in Open, or presetting them in the IDE, causes the client browser to start loading the picture as it’s rendering the page. I believe that’s a bug but I do not know if it has been reported yet. I just tested this myself and for some reason it does not work. Setting WebImageView.Picture or WebImageView.URL in Shown should work, but you are changing the page content after it has loaded so there may be a visible delay. The Shown event fires after it has been sent and rendered by the client browser. The Open event fires before the page is sent to the client browser.

broken image