Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8165021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:26:36+00:00 2026-06-06T19:26:36+00:00

In my WP 7.1 app I have a page with multiple buttons. I noticed

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:26:37+00:00Added an answer on June 6, 2026 at 7:26 pm

    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

    Touch.FrameReported += new TouchFrameEventHandler(Touch_FrameReported);
    

    Put this in your App class

    void Touch_FrameReported(object sender, TouchFrameEventArgs e)
    {
        TouchPoint primaryTouchPoint = args.GetPrimaryTouchPoint(null);
    
    
        TouchPointCollection touchPoints = args.GetTouchPoints(null);
    
    
        foreach (TouchPoint tp in touchPoints)
        {
            if(tp.Action == TouchAction.Down)
            {
            //Do stuff here
            }
    
        }
    }
    

    In the “Do stuff here” part you would check if the TouchPoint tp is within an area a button occupies.

    //This is the rectangle where your button is located, change values as needed.
    Rectangle r1 = new Rectangle(0, 0, 100, 100); 
    if (r1.Contains(tp.Position))
    {
       //Do button click stuff here.
    }
    

    That should hopefully do it for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My app needs to have multiple screen e.g. one login page then another page
I have a jquery app with multiple data-roles=page in one html file. Is it
I have multiple html documents that share one css stylesheet (not multiple page div
I'm working on an iphone app and want to have a page showing multiple
I have a UIWebView in my iPhone app that have a web page with
I have page, i can contact directly without any problems. http://www.mysite.com/app_dev.php/comments/22 the page shows
I have a page X in my grails app which has a button to
I have an app with a calendar page. On that page I have elements
I have an app that uses a transition file to flip from page to
I have an app on http://apps.facebook.com/myappname that is a canvas page of http://mydomain.com .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.