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 / Set timer in visible's...
Power Apps
Answered

Set timer in visible's property

(0) ShareShare
ReportReport
Posted on by 248

Hello,

How to set a timer to visible's property, for example i have a text label here and i want to set a timer about 15 minutes and after that the visible will turn to false

test8.PNG

 

 

Thank you

Categories:
  • K-A-R-L Profile Picture
    715 on at

    Hi @AdhamFH ,

    You can set the visibility of the label as a context variable, this will temporarily hold a piece of information such as the status of the Label's visibility.

    Try using this code:

     

    On the OnVisible() Property of the Screen where the Label is located set it to:

    UpdateContext({Visibility:true})

     

    Set the Visible() Property of the Label to: 

    Visibility //this is the variable

     

    On the Timer's  OnTimerEnd() Property, set it to:

    UpdateContext({Visibility:false})

     

     

    To quickly test it: set the duration of your timer to "5000".

    ----------------------------------------------------------------------------
    Thanks,
    K-A-R-L


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If you thought this post was helpful, please give it a Thumbs Up.

  • AdhamFH Profile Picture
    248 on at

    hi @K-A-R-L , thank you for your reply, actually i have put a timer to get currentdatetime and display it to my label at the right one

    test9.PNG

     

     

    and then i want to make a condition if label on the left one is equal to label on the right one then the label "hello" will visible about 15 minutes. Is it possible to do that ?

  • Verified answer
    K-A-R-L Profile Picture
    715 on at

    Hi @AdhamFH ,

    Can you please confirm if this is what you want to achieve: 

    Timer Visibility.gif

     

     

    Screen Code

    OnVisbile() Property:

    UpdateContext({Visibility:false})

     

    Timer of Visibility Code:

    AutoStart() and Repeat() = false

    OnTimerEnd() Property: 

    UpdateContext({Visibility:false})

    OnTimerStart() Property:

    UpdateContext({Visibility:true})

     Start() Property

    If(Label1_2.Text = Label1_1.Text,true, false)

     

     

    Hello Label:

    Visible() Property

    Visibility

     

     

    ----------------------------------------------------------------------------
    Thanks,
    K-A-R-L


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If you thought this post was helpful, please give it a Thumbs Up.

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard