M mkh_fx Member Licensed User Longtime User Jun 17, 2017 #1 in debug mode every thing is ok. and my code work properly but when in release app my code and event runs.but no action on the ImageView B4X: Sub btn_move_Click img_logo.Left = img_logo.Left + 10 End Sub
in debug mode every thing is ok. and my code work properly but when in release app my code and event runs.but no action on the ImageView B4X: Sub btn_move_Click img_logo.Left = img_logo.Left + 10 End Sub
Cableguy Expert Licensed User Longtime User Jun 17, 2017 #2 Try logging the left value... You could change the sub to... B4X: Dim old as double = img_logo.left Dim new = old + 10 img_logo.left = new Upvote 0
Try logging the left value... You could change the sub to... B4X: Dim old as double = img_logo.left Dim new = old + 10 img_logo.left = new
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2017 #3 You need to disable the "Handle Resize Event" option in the designer or it will reposition the views when the page size changes. Note that you can use several layout files. One with this option checked for the rest of the layout. Upvote 0
You need to disable the "Handle Resize Event" option in the designer or it will reposition the views when the page size changes. Note that you can use several layout files. One with this option checked for the rest of the layout.
M mkh_fx Member Licensed User Longtime User Jun 18, 2017 #4 i disable the "Handle Resize Event" option in all layouts but not happen and it is very funny and amazing Upvote 0
i disable the "Handle Resize Event" option in all layouts but not happen and it is very funny and amazing
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2017 #5 Please upload the project (File - Export as zip). Upvote 0