web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Pause/stop active (or ...
Power Apps
Answered

Pause/stop active (or all) timers in my dynamic gallery

(0) ShareShare
ReportReport
Posted on by 54

Hi, I have built (with help from this Community) an app for time tracking. I can add how many timers I want, and when I click on one timer, the other timer that was active is paused/stopped.

I would want a button which pauses/stops all timers (ie the active one, as the others are already paused/stopped). For example when going to lunch, I do not want the timers to run. I know it is easy just to click on the active timer and it pauses, but it would be nice to have a specific button for it.

I have a collection (timeTrack) for to handle the timers, and then a collection (TheCollection) for the gallery. I guess I need to work with the collection for the timers, but I really have no idea how to proceed. Nothing I have tried has worked. I have added some pictures of some of the code I have on my timer, do not know if any of those can give any idea how to solve this.

Anyone who have any suggestions on how to pause the active timer?

Anna_H_0-1677768842243.png

Anna_H_1-1677768937175.png

Anna_H_2-1677768963184.png

Anna_H_3-1677768981086.png

Kind regards,

Anna

 

 

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anna_H ,

     

    You could try:
    1\Set the button's OnSelelct property to:

    Set(StopTimmer,!StopTimmer)

    2\Set the Timmer's Start property to:

    StopTimmer && timerRunning=ThisItem.LineNbr

     

    Best Regards,

    Bof

  • Verified answer
    Anna_H Profile Picture
    54 on at

    Thank you @v-bofeng-msft , actually I figured it out last night when I woke up. I just used Set(timerRunning, 0).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 638

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard