I made a dialog using DialogEX. It has an image, that I use as an icon, that changes depending on the information viewed. The image file name is passed via a table from a page of the app and loaded bia the Image.Load event.
With the Image.Load script placed in "On Show" page, in "Preview" it works perfectly. After "Build" it does not work at all.
The default image is there, but it will not load a different image on show.
I intensionally placed a Dialog message before the Image.Load script to see if the table was still passing the image name. After Build, the dialog does in fact report that the image name is making it to the Image.Load event. But nothing happens.
I also know the data is making it there as the message sent is shown in an input.Code:Input.SetText("DlgTxt_Input", tDlgTxt.Msg); Dialog.Message("Notice", tDlgTxt.IcnImg, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); Image.Load("Icon_Img", "AutoPlay\\Images\\"..tDlgTxt.IcnImg);
Is this a known issue?
Does there happen to be a work-around that I am not aware of?
Am I doing something wrong?
Just to be clear, the Image.Load event works in "Preview" perfectly after "Build" it does not load a differrent image.
Thanks in adavnce.
Animl

Reply With Quote


