cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Level 10

Button Disabled property is now the DisplayMode property?

I noticed that the Disabled property of my buttons (and many other controls) has now been morphed into a DisplayMode property.

This property can take at least three values (Disabled, View, Edit)

What is the difference between View and Edit modes for a button?  It is not as if the user can edit the button, or can they?

Thanks for any insight.

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Button Disabled property is now the DisplayMode property?

The main difference between the Edit and View modes is that in the former the users can interact with the control, while in the latter they can't - but the control will not "look disabled". For the specific example of a button, the OnSelect handler will not be called if the display mode of the button is View, but it will be if it's Edit.

View solution in original post

3 REPLIES 3
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Button Disabled property is now the DisplayMode property?

The main difference between the Edit and View modes is that in the former the users can interact with the control, while in the latter they can't - but the control will not "look disabled". For the specific example of a button, the OnSelect handler will not be called if the display mode of the button is View, but it will be if it's Edit.

View solution in original post

Power Apps Staff FilipK
Power Apps Staff

Re: Button Disabled property is now the DisplayMode property?

The documentation has more details:

https://powerapps.microsoft.com/en-us/tutorials/properties-core/

- not filipk@microsoft.com, please private message me if you can't share with everyone
Meneghino
Level 10

Re: Button Disabled property is now the DisplayMode property?

Thanks both for replying. Documentation could be clearer for the case of non-editable controls.
In any case this is a great new feature!

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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