Android Question panel touch question

Robert Durbin

New Member
Licensed User
Longtime User
i am making a simple game, it consists of a 5x5 grid of panels, if you click one of the panels it turns red. If you click again again it goes back to original color white. I want to make it so you can click and hold on one and move over a row of panels while holding finger on screen, rather than clicking each panel. I have originally tried with button down events than changed it from button to panels and tried with touch event with action move and action down commands. all the buttons point to a the same sub. it uses an array to store the reference of each panel and uses sender command to tell the sub which of the related panels were pushed.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…