iOS Question View.Left property doesn't work after release app

mkh_fx

Member
Licensed User
Longtime User
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
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

mkh_fx

Member
Licensed User
Longtime User
i disable the "Handle Resize Event" option in all layouts
but not happen and it is very funny and amazing
 
Upvote 0
Top