Since I'm a bit tired ATM, I'll ask here instead of trying blind, but is it possible to do a casewhere/if statement that will perform an action based on a picturename that is loaded in an image box? I'm going to make an interface where several clear labels are overlaid on a picturebox, to create a Myst like point and click interface, but easily. If I may write in pseudocode a bit...
Casewhere imgImageView.picture is:
Room1.jpg : set matrix commands to perform actions specific to room1
Room2.jpg : set matrix commands to perform actions specific to room2
Room3.jpg : set matrix commands to perform actions specific to room3
Question
petroid
Since I'm a bit tired ATM, I'll ask here instead of trying blind, but is it possible to do a casewhere/if statement that will perform an action based on a picturename that is loaded in an image box? I'm going to make an interface where several clear labels are overlaid on a picturebox, to create a Myst like point and click interface, but easily. If I may write in pseudocode a bit...
Casewhere imgImageView.picture is:
Room1.jpg : set matrix commands to perform actions specific to room1
Room2.jpg : set matrix commands to perform actions specific to room2
Room3.jpg : set matrix commands to perform actions specific to room3
End Case
etc, etc...
Any ideas?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts