Hi @Anonymous ,
One other possibility is to import the images into the media (View > Media > Images > Browse) and they will be named as per the original file. At App OnStart, you could have
Set(
vRN,
Round(
Rand() * 10,
0
)
)
which generates a random number between 0 and 9 - you can duplicate four of the images if you have no more.
Put a Image control at the back of the screen with the Image property
Switch(
vRN,
0,
ImageName1,
1,
ImageName2,
2,
ImageName3,
3,
ImageName4,
4,
ImageName5,
5,
ImageName6,
6,
ImageName7,
7,
ImageName8,
8,
ImageName9,
9,
ImageName10
)
and you will have one of 10 random images displayed.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.