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 :'(
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?
hello emiliano,
can (findfile "namefile.png") really find the file?
best regards
marco
Yes (findfile "namefile.png") find the file!
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)?