Vai al contenuto

Image choice from a list

To use this functionality, it’s sufficient to specify the “images” property. The image index will be written to the variable associated to the property “selectedPos”.In the case also the “indexes” property has been used, the variable associated to the property “selectedValue” will be also written with the value taken from the indexes list, at position chosen by the image index.Example:images = “img1.gif, img3.gif, img7.gif, img2.gif”indexes = “1, 5, 21, 8”The widget will display the images in the same order as the one listed inside the property “images”.If, for example, “img3.gif” will be selected (second image on list), the following values will be obtained:selectedPos = 1 (it’s the second image = index 1)selectedValue = 5 (it’s the second “indexes” = “5”)