Hi,
I run into a problem when I use a webcanvas to draw a picture. While in debug mode, when I close the window where the canvas is the app stops responding (paused). No error arise but I can read “event loop” in the “Stack” section of the debugger. If I push the “play button” the app starts responding again.
This behavior seems to be related to the presence of the canvas since it does not happen when I remove the webcanvas.
I can’t replace the webcanvas by a webImageView since I need to add drawings over the picture later.
In the paint event, I tried this code :
Dim p as Picture = mypicture (the picture has been added in design mode and stored in a graphic folder that sits in my project folder)
g.DrawPicture(p, 0,0)
And
Dim p as WebPicture = mypicture (same picture as above)
g.DrawPicture(p, 0,0)
Both work but make the app pause.
Any solution?