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 / How to change the labe...
Power Apps
Answered

How to change the label text at the push of a button

(0) ShareShare
ReportReport
Posted on by 86

Can you tell me how to change the text of the label at the push of a Button?

When the Button is pressed,

I want to issue a text message ("aaa") and delete the displayed message ("aaa") after 3 seconds.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,943 Most Valuable Professional on at

    Hi @Bird ,

    You can use Notify() - on Button OnSelect

     

    Notify("aaa",Information,3000)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Bird Profile Picture
    86 on at
    I think using Notify is one way to do it,
    
    I would like to display it as text just below the placed button.
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    You have to use variables as that's things you can attach to events such as onSelect. So you would on the Button OnSelect put in either Set(variablename,"Text Value") for global variable that can be used across all screens. If it's just a local variable to that screen you can use UpdateContext({variablename:"Text Value"}) to do the same. Then add a label below the button and set it's Text value to variablename and It'll update to that variable when the button is clicked. 

  • WarrenBelz Profile Picture
    154,943 Most Valuable Professional on at

    @Bird ,

    You are going to need a label with the visibility set to a variable and use a timer to hide it at the end. We are dealing with something similar on your other post.

  • Bird Profile Picture
    86 on at

    Hi @cwebb365 ,

     

    I'm very sorry that I'm not familiar with English, Would you please write the procedure a little easier?

  • WarrenBelz Profile Picture
    154,943 Most Valuable Professional on at

    Hi @Bird ,

    Please refer to your other post.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard