Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

pause button

(1) ShareShare
ReportReport
Posted on by

Very good day, can you guide me? I have a button that I use to open a QR reader. I save the information in a collection and show it in a gallery. I need to know if I can, every time I use the QR reader button, it is disabled for 3 seconds and leave it active again to continue reading QR

 

 

--The QR reader works, I need to deactivate it for 3 seconds to pause and continue reading information

andresnex_1-1720563233450.png

 

 

Read

Pause

Read Somemore

Pause

 

 

 

  • Verified answer
    WarrenBelz Profile Picture
    146,668 Most Valuable Professional on at
    Re: pause button

    Hi @andresnex ,

    Put in a timer with

    Duration 3000

    Start varTimer

    OnTimeEnd UpdateContext({varTimer: false}) - Also put this at Screen OnVisible

     

    Scanner:

    OnScan UpdateContext({varTimer: true})

    DisplayMode If(varTimer, DisplayMode.Disabled, DisplayMode.Edit)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard