T Toni Member Licensed User Longtime User Nov 10, 2025 #1 My base is a b4X page. I have 9 imageviews built in the designer. I've start the gesturedetector for onetapconfirmed (rotating the bitmap of the imageview), doubletap (flipping the bitmap of the imageview), longtap (not coded jet) and dragging the imageview and everything works fine. But when I'am dragging an imageview, I want to bring it to the front. I tried to put the imageviews on a panel, no success. Elevation for the panel, Invalidate the imageview after bringtofront also nosuccess. So 2 questions: Where is the right location to place the bringtofront method? What I'am doing wrong? Is there a invalidate method for B4Xpages too? Okay that were 3 questions Attachments test.zip test.zip 9.3 KB · Views: 210
My base is a b4X page. I have 9 imageviews built in the designer. I've start the gesturedetector for onetapconfirmed (rotating the bitmap of the imageview), doubletap (flipping the bitmap of the imageview), longtap (not coded jet) and dragging the imageview and everything works fine. But when I'am dragging an imageview, I want to bring it to the front. I tried to put the imageviews on a panel, no success. Elevation for the panel, Invalidate the imageview after bringtofront also nosuccess. So 2 questions: Where is the right location to place the bringtofront method? What I'am doing wrong? Is there a invalidate method for B4Xpages too? Okay that were 3 questions
Erel B4X founder Staff member Licensed User Longtime User Nov 11, 2025 #2 Toni said: Is there a invalidate method for B4Xpages too? Click to expand... It is not needed and will not help. It is impossible to run your project. B4XMainPage missing the Initialize sub and the Img variable is never set. Upvote 0
Toni said: Is there a invalidate method for B4Xpages too? Click to expand... It is not needed and will not help. It is impossible to run your project. B4XMainPage missing the Initialize sub and the Img variable is never set.
T Toni Member Licensed User Longtime User Nov 11, 2025 #3 Sorry for my question and my imperfect code. Iwas So focused on the gesturedetector code, but i can bring simply my view to the Front by the click Event of my view. I Was blind , but than s for your fast Response Upvote 0
Sorry for my question and my imperfect code. Iwas So focused on the gesturedetector code, but i can bring simply my view to the Front by the click Event of my view. I Was blind , but than s for your fast Response