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 / Hide and show text bas...
Power Apps
Answered

Hide and show text based on timer

(0) ShareShare
ReportReport
Posted on by 35

Hi! 

 

I'm trying to hide a text label based on a timer. Let's say I want a text to be hidden until the timer says 5sec and then I want the text to show for 5sec and then disappear again. 

 

The concept I'm trying to achieve is to have something like a label slide show. I want the text to appear and disappear base on different time values. 

 

I have tried some variations of (Timer1.Value-5000) in the text visible tab but can't get it to work. 

 

Does someone have any ideas?  

Categories:
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Hi @JHAKANS,

     

    Let me see if I correctly understood your request.

    You want a Label.Text to be shown for 5 (variable time) seconds and then to be hidden for another 5 seconds, right ?

     

    If so, you have to set the  Visible  property of the label to:

    Mod(RoundDown(Timer1.Value/5000,0),2)=1

     

    and you'll get something like this:

    ezgif.com-gif-maker.gif

  • JHAKANS Profile Picture
    35 on at

    Thank you! this is exactly what I was looking for 😀

  • JHAKANS Profile Picture
    35 on at

    Tried the code and I was wrong. I want the text to disappear completely after it has shown for the 5sec. So the text should not be visibly for 5sec then show for 5sec and after that disappear completely and not return visible.  

     

  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Hi @JHAKANS again 🙂,

    Sorry to hear that my formula is not what you want.. So the for first 5 seconds you want the text to be shown and after that to dissapear for good ...

    Well, set VISIBLE property of the label to:

       Timer1.Value<5000

    What is the timer duration ? Is the repeat property set to true (because for the  first 5 seconds the text will be shown again)?

  • JHAKANS Profile Picture
    35 on at

    (Timer1.Value<0;; Timer1.Value>5000;;Timer1.Value<0)

     

    More like this:  Visible false for 5sec, Visible true for 5sec, Visible false forever. 

     

    Because after that label is gone I want to display another label with new content and after that, I want to display another one and so on.  

    And I need to be able to set different time values on every label. Because some of them shall be presented longer than the others. 

     

    Think of it like when they roll credits in a movie. Where they display a certain amount of text and it disappears and reveals another one. 

    If that makes more sense haha

     

    BR

     

    timer.PNG

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard