Hello,
I'm new to Gambas, I use the latest version of Gambas at the time of writing: 3.14.3, I previously did some projects working with the GUI interface and now I want to try web forms but when I insert a WebImage I don't know how to include the link to the image file, unlike PictureBox of the GUI interface there is no property of WebImage which allows to include the link apart from Image what does it seem does not work.
cordially
how to use WebImage on Gambas 3
- cogier
- Site Admin
- Posts: 1157
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: how to use WebImage on Gambas 3
Hi diaxotora and welcome to the forum.
You need to put a picture(image) in your programs 'Public" folder. then you can use something like. WebImage1.Image = "test.png"
You need to put a picture(image) in your programs 'Public" folder. then you can use something like. WebImage1.Image = "test.png"
Re: how to use WebImage on Gambas 3
Thank you very much cogier, it worked, I have another question when I run the program the browser shows me the window with the sizes and the background color of an old project that I deleted is what you know why ?
- cogier
- Site Admin
- Posts: 1157
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: how to use WebImage on Gambas 3
I can only think that your web browser has cached the page. Try deleting the cache. You should be able to do this from the web browser settings page.
Re: how to use WebImage on Gambas 3
thank you very much, it is the cache that is the cause