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 / Flashing Button Color
Power Apps
Answered

Flashing Button Color

(0) ShareShare
ReportReport
Posted on by 23

Hello,

 

I am using a button that counts Ticks in my app. I would like the Ticks button to blink or flash anytime a Tick is added to catch the eye of the user. 

 

(e.g. ) The button is blue, every time the Ticks increases, the button flashes white, then immediately goes back to blue.

 

Thank you.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,024 Most Valuable Professional on at

    1) Use a variable to set the color of the Button

    2) When the Tick increases change the color of the variable and start a timer.

    3) When the timer completes set the color variable back to the original color.

  • Matt551 Profile Picture
    23 on at

    I'm playing with it now. Can you help me with the coding?

  • Matt551 Profile Picture
    23 on at

    I have the Timer set, but I do not know how to set color as a variable to Ticks and Timers.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You can use the variable with enum colors or RGB color i.g.:

    Set(var_color; RGB(255;255;255;1))
    Set(var_color; Color.Red)

  • Matt551 Profile Picture
    23 on at

    Where is this entered? My box is turning black rather than the intended color. Is this put into the color fill of the button?

  • Matt551 Profile Picture
    23 on at

    Or is this entered into the Timer OnTimerEnd Button1; Fill="Blue"; 

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Matt,

    Here is the simple sample:

    1. Set on OnVisible action screen: Set(var_color; Color.Blue)
    2. Set the Fill property on the button that you need to change the color: var_color
    3. Set the OnSelect action on the button that will trigger the action: Set(var_color; Color.Red);;Set(timerStart;true)
    4. Set the Start property on the Timer: timerStart
    5. Set the OnTimeEnd action on the Timer: Set(timerStart;false);;Set(var_color;Color.Blue)

    P.S.: maybe you'll need to replace the semicolon by comma

    I've attached the small sample too. 

  • Matt551 Profile Picture
    23 on at

    Yes! Thank you, @Pstork1 and @Anonymous! It is working exactly as I was describing. I really appreciate this help. 

  • CW Profile Picture
    1,044 on at

    What kind of an app is it? Canvas? I've tried to import the app as a canvas app. [Import/select PlayMaykonApp.zip] and as per usual with Powerapps it doesnt work: "Something went wrong. Please try again later."

    Is it me or is this platform reallllllllly buggy?

  • Nadeeja Bomiriya Profile Picture
    4 on at

    @CW Unzip the file.  You'll see the PlayMaykonApp.msapp file. Create a new Canvas App.  Then click on the ellipses (...) and click Open.

     

    Nadeeja_0-1676579557636.png

     

    Click Browse Files.  Select the PlayMaykonApp.msapp.  It'll open.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard