In what sub do you usually store the mouse x,y position to init dragging of an object to allow smooth calculated dragging of objects? (in this case an image)
since this is not triggered when dragging begins. Is there a MouseDraggedBegins event or how you solve that?
since this is not triggered when dragging begins. Is there a MouseDraggedBegins event or how you solve that?
B4X:
public Sub xIcon_MouseClicked (EventData As MouseEvent)
'fx.Msgbox(Main.MainForm, "Clicked!!", "")
StoreClickPosX = currentMouseX
StoreClickPosY = currentMouseY
Log("Position stored")
End Sub