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 / 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
    153,084 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
    153,084 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
    153,084 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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard