In my WP 7.1 app I have a page with multiple buttons.
I noticed that while any one button is being pressed, no other button can be pressed.
How can I overcome this? I need to be able to allow users to press multiple buttons at the same time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t handle multiple button clicks at once unfortunately. There is a way around it though. You can use the Touch.FrameReported event to get the position of all the points a user is touching on the screen (I read somewhere before that on WP7 it’s limited to two but I can’t verify that). You can also check if the action the user is taking (e.g. Down, Move and Up) which may be useful depending on what you are doing.
Put this in your Application_Startup
Put this in your App class
In the “Do stuff here” part you would check if the TouchPoint tp is within an area a button occupies.
That should hopefully do it for you.