B bazp Member Licensed User Longtime User Jan 5, 2012 #1 I want to display several seperate objects on the screen at one time. I want to be able to move each object seperately. Can this be done with activity_touch or is there a better way?
I want to display several seperate objects on the screen at one time. I want to be able to move each object seperately. Can this be done with activity_touch or is there a better way?
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2012 #2 What are these object? Do you want to move views? Upvote 0
B bazp Member Licensed User Longtime User Jan 5, 2012 #3 Multiple objects I have 2 bitmaps on a canvas. (looks like balls) I can move 1 object using activity_touch using x and y co-ordinates. I would like to be able to touch/move each independantly. Is that possible via b4a? Upvote 0
Multiple objects I have 2 bitmaps on a canvas. (looks like balls) I can move 1 object using activity_touch using x and y co-ordinates. I would like to be able to touch/move each independantly. Is that possible via b4a?
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2012 #4 Is that possible via b4a? Click to expand... Yes. There are several ways to do it. The simplest one is to draw the bitmaps on two Panels and then handle the panels touch event to move the panels. You can use the same subs to handle both panels. Upvote 0
Is that possible via b4a? Click to expand... Yes. There are several ways to do it. The simplest one is to draw the bitmaps on two Panels and then handle the panels touch event to move the panels. You can use the same subs to handle both panels.
B bazp Member Licensed User Longtime User Jan 5, 2012 #5 Multiple objects Thanks Erel ,good advise per usual. Upvote 0