Page 1 of 1

Dynamically change image in an image control?

Posted: Thu Mar 19, 2009 11:18 am
by JeffTucker
Is there any way to specify the image to use in an image control within a dialog using script?
Hiding or showing two different image controls?
I have a dialog in which we want to show many prerequisites; some the user influences directly without quitting the installer (like the screen resolution), others are hardware related (fatal), and some are correctable by installing the prerequisite within IA. I'd like to show a big red x image for the ones where there is problem, and green check for those without any issue.
If the user can change the prereq by doing something, I want to provide a Refresh button to rerun the script logic that determines the images to show (and actions to correct)

Posted: Thu Mar 19, 2009 1:18 pm
by MichaelNesmith
Just add all images and show or hide them based on dialog rules which test values of hidden labels on the form that dereference script variables.