Form with image from web

Started by Emiliano, April 10, 2017, 07:23:47 AM

Previous topic - Next topic

Emiliano

Hello,
I would like to create a form that contains a linked image to a PNG file.

I have tried using the PictureBox1 contro with (dcl-PictureBox-LoadPictureFile promo/FormPromo/PictureBox1 (findfile "namefile.png") T)
but I'm getting this error: NIL value not allowedv :'(


Emiliano

No way to put an image from png file into a form through the code?

Why (dcl-PictureBox-LoadPictureFile promo/FormPromo/PictureBox1 (findfile "namefile.png") T)  not works?

marcoheuer

hello emiliano,
can (findfile "namefile.png") really find the file?

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

Emiliano

Yes (findfile "namefile.png") find the file!

marcoheuer

currently, I still use version 8.0.5.0.
in this version i have no problems to load a picture with "dcl-PictureBox-LoadPictureFile" in a modeless dialog.

can you upload an example (lsp and odcl file)?
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office