I have a variable
Code: Select all
tImageID
I have three images stored in files, named
Code: Select all
image1.jpg, image2.jpg, image3.jpg
Please provide a piece of code to display either image1.jpg or image2.jpg or image3.jpg acccording to the value of tImageID.
It could be one control with 3 interchangeable images or 3 controls displayed on same place - I don't care much, though the first solution seems to be more elegant.
The essence is, I just want to display (on the same place) a proper image according to the value of tImageID.
Please advise.
Best,
greg falda