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

Community site session details

Session Id : L0fxdvx6fnd8Jx+i4HC9gK
Power Apps - Building Power Apps
Answered

Flashing Button Color

Like (0) ShareShare
ReportReport
Posted on 5 Oct 2021 14:04:15 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)
  • CW Profile Picture
    1,042 on 16 Feb 2023 at 20:42:28
    Re: Flashing Button Color

    Thanks Nadeeja !! 😃

     

    Wow, I was attempting to load it via the "Import App" method. How stupid of me, I should've known that apparent 'intuitive' process wouldn't work and that I'd need to open it via relatively convoluted, nowhere-near-intuitive process.

    Such is life using msft.

    Thanks again for the response.

  • Nadeeja Bomiriya Profile Picture
    4 on 16 Feb 2023 at 20:35:25
    Re: Flashing Button Color

    @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.

  • CW Profile Picture
    1,042 on 16 Feb 2023 at 17:41:47
    Re: Flashing Button Color

    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?

  • Matt551 Profile Picture
    23 on 06 Oct 2021 at 14:21:59
    Re: Flashing Button Color

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

  • Verified answer
    Community Power Platform Member Profile Picture
    on 05 Oct 2021 at 18:13:26
    Re: Flashing Button Color

    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 05 Oct 2021 at 16:19:59
    Re: Flashing Button Color

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

  • Matt551 Profile Picture
    23 on 05 Oct 2021 at 15:55:49
    Re: Flashing Button Color

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

  • Community Power Platform Member Profile Picture
    on 05 Oct 2021 at 15:36:38
    Re: Flashing Button Color

    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 05 Oct 2021 at 15:15:47
    Re: Flashing Button Color

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

  • Matt551 Profile Picture
    23 on 05 Oct 2021 at 14:56:17
    Re: Flashing Button Color

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 936 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 375 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 330 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete