download a file

Hello everyone
Xojo

Thank you very much for your comments

I am starting in web programming and I need to practice the following:

I have a webpage, WebImageView and a file names.pdf in the D drive of my computer
the MouseDown event has been added to WebImageView, so that clicking on it makes me simulate the download of the file names.pdf

What code would you put in the MouseDown event to simulate the download of the file names.pdf?

Raul Juarez Pulache

I suggest that you take some time to look at example programs that are provided with Xojo. Also, look at web files on developer.xojo.com. You should have enough to get started.