Hi,
I have an image control in a dialog script that uses a static image, so the image is stored in the script. during script execution that image is replaced with dynamic images, via:
SetDialogProperty>Dialog1,msImage1,LoadImage,%MyThumbnailsFolder%\%cimageurl%
When I done with the dynamic images I'd like to have the dialog display the original static image, but I cannot figure out how to reference it. I know I could use two over-lapping image fields but I am trying to avoid clutter in dialog designer. So, as stated in the subject line, how do I re-load static image loaded via loadimage?
Thanks in advance,
Bob
Re-load static image loaded via loadimage?
Moderators: JRL, Dorian (MJT support)
Re: Re-load static image loaded via loadimage?
If you really want to avoid clutter don't put the image in the dialog. Instead, use the Editor's "Import Binary File" under "Tools" to import the image into the script. Then put an ExportData> line near the top of your script to write that imported image to a file. Then use the same SetDialogProperty>Dialog1,msImage1,LoadImage,FilePath\FileName to display the initial and closing image in the dialog....but I am trying to avoid clutter in dialog designer.
Re: Re-load static image loaded via loadimage?
Very cool feature I was totally unaware of. It worked perfectly and I see lots of other ways to use it too!
Thanks again!
Bob
Thanks again!
Bob