Hi.
I want to achieve that if I press a picture in a form, then it will be visible, when pressing the same image again, then unvisible. This is also posted in https://www.accessforums.net/showthread.php?t=70061
I suffer from Cervical Neck Prolapse and want to log my pains. I have created a lot of small images of different parts of the body. I have stacked all those pictures on top of each other. I can add an event "onclick" when clicking the picture - and then make that part of the body visible. But I am not able to disable the visibility when clicking the next time. I have searched and searched, but all searches comes up with "ToggleButton". I dont need a toggle button, but just an approach to how to achieve the following: Say image1 is my shoulder (in a form). When I click, the shoulder is visible. Next time I click the same image, I want it to be hidden. How do I achieve this? Tried this code, but it only sets it visible, then I cannot click again to go back. Thanx a lot in advance.
Code:Private Sub Image1_Click() Me.Bilde2.Visible = (Not Me.Image1.Visible) End Sub
Kropp test.zip