Android Question how to move

hadi kia

New Member
Hi there,I am new in b4a . is it possible to move a button or image from one point to another.I have 3 different image and their shadows . and want to connect images to their shadows .sorry about my english
 

hadi kia

New Member
Hi, thanks for replay

I want to use a drag and drop function with my app.

The idea is that you have to pick up an image and drop that image in the correct box.

I searched on the websites and searched in the beginners guide and tutorials but not found any instructions for this.

Thanks!
 
Upvote 0

marcick

Well-Known Member
Licensed User
Longtime User
I'm not able to find now the DraggableVew class to see how it works, but I suppose that if it is draggable it has event like DragStart, DragEnd.
When you intercept DragEnd you have the screen coordinates and you can compare them with the coordinates where your boxes are located and determine if it is inside or not.
 
Upvote 0
Top