Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Disabling buttons when pressed



I have scenario where I have  Start,Stop and Submit Buttons. I want to disable the both Start and Submit button once the Start button it's pressed, so that the user only selects the Stop button and once it's pressed the Submit button enables and once Submit button is pressed Start button enables. 


I'm using the Button.Pressed property button but couldn't make it what i need to do. 


I would appreciate any input or any workaround.






I was able to see the video So one thing which is happening different on my end is that when I assign the StartButtonVisible variable to the Visible Property for the StartButton, the button disappears even though I change the Onvisible Property of the Screen to be true for that variable.


Did you encounter that issue?


Here's the video



I see, what you are not doing is this. 

On visible is when you browse to that screen.

You are not navigating away from the screen, and returning to activate the OnVisible Code. 

The Onvisible is there so that you can be 100% confident that if a user navigates away from the screen, and then returns, Start will always be the only button visible.


It worked! Thanks so much 🙂

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,505)