Matteo Granatiero Active Member Licensed User Longtime User Nov 26, 2017 #1 I would like to see imageview1, imageview1 invisible and imageview2 be visible. I tried : sub imageview1.clik Imageview1.visible = false Imageview2.visible = true end sub But the debug get me error Attachments Immagine.png 24.3 KB · Views: 406
I would like to see imageview1, imageview1 invisible and imageview2 be visible. I tried : sub imageview1.clik Imageview1.visible = false Imageview2.visible = true end sub But the debug get me error
Star-Dust Expert Licensed User Longtime User Nov 26, 2017 #2 The code you posted is incorrect, the correct one is: Code: Sub ImageView1_Clik ImagVview1.visible = False ImageView2.visible = True End Sub You have to indicate what row raises the error. Within the Sub Intercepting the Click Event? If so, then it clicked ImageView1 one when ImageView2 has not yet been initialized or added to a view Attach the code where you initiate the views. Upvote 0
The code you posted is incorrect, the correct one is: Code: Sub ImageView1_Clik ImagVview1.visible = False ImageView2.visible = True End Sub You have to indicate what row raises the error. Within the Sub Intercepting the Click Event? If so, then it clicked ImageView1 one when ImageView2 has not yet been initialized or added to a view Attach the code where you initiate the views.
klaus Expert Licensed User Longtime User Nov 26, 2017 #3 Did you Dim ImageView1 and ImageView2 in Globals? Upvote 0