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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Flashing Button Color
Power Apps
Unanswered

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
    68,697 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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard