WebCanvas.Pressed not responding when in container control

Sorry for all the posts lately. I have a WebCanvas in a container, which is in a PagePanel on a WebPage. The canvas has a pressed event, but it does not seem to be working. I put the same code in a button, and this worked. Is there a trick to get the canvas.pressed to work?

Create an Issue for Xojo to fix this bug. Please upload a sample project.

1 Like

A quick test seems that WebCanvas.Pressed event:

  • works when the WebCanvas is on the WebPage
  • works when the WebCanvas is in a container on the WebPage
  • doesn’t work when WebCanvas is in WebPagePanel no matter if directly or inside a container

Thanks for confirming too. Just created the issue with sample project (my first!)


Thank you for reporting this Ryan & Alberto.