cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Disabling buttons when pressed

Hi,

 

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.

 

thanks!! 

12 REPLIES 12
Highlighted

Gotcha,

 

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

ONEDRIVE

Highlighted

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.

Highlighted

It worked! Thanks so much 🙂

Helpful resources

Announcements
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.

secondImage

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)