dEraCh2000
Programmer
Hi,
I'm having some difficulty with the image control.
To assign an image at runtime I use code like
?Image{PROP:TEXT}=filepath
and some images do not show up
I have 5 image controls on a form.
When I try message(?Image{PROP:TEXT}) a get empty string
Images are in the same folder, all have similar names.
Two images that do not show up, I cant get them even by using DosLookup template control., even though it is a valid jpg, I can preview it and open it in paint.
All of these images were copied to disk using BLOBTOFILE function.
p.s. another thing, how do I rise an event so the new image gets saved to the blob field. I'm using the extension for saving. How can I tell the form to save the new record
Kind regards
Armin
I'm having some difficulty with the image control.
To assign an image at runtime I use code like
?Image{PROP:TEXT}=filepath
and some images do not show up
I have 5 image controls on a form.
When I try message(?Image{PROP:TEXT}) a get empty string
Images are in the same folder, all have similar names.
Two images that do not show up, I cant get them even by using DosLookup template control., even though it is a valid jpg, I can preview it and open it in paint.
All of these images were copied to disk using BLOBTOFILE function.
p.s. another thing, how do I rise an event so the new image gets saved to the blob field. I'm using the extension for saving. How can I tell the form to save the new record
Kind regards
Armin